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:
parent
6f20126ff7
commit
bdeea1e130
@ -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]))
|
||||
|
Loading…
Reference in New Issue
Block a user