1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

facebook: better error message

This commit is contained in:
Johan Andersson 2015-03-31 20:51:13 +02:00
parent 6f20126ff7
commit bdeea1e130

View File

@ -20,7 +20,7 @@ class Facebook(Service, OpenGraphThumbMixin):
match = re.search('params","([^"]+)"', data)
if not match:
log.error("Cant find params info. public video?")
log.error("Cant find params info. video need to be public.")
return
data2 = json.loads('["%s"]' % match.group(1))
data2 = json.loads(unquote_plus(data2[0]))