1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 12:15:40 +01:00

aftonbladet: use aptomaVideoId for videoId.

fixes: #416
This commit is contained in:
Johan Andersson 2016-07-13 19:59:24 +02:00
parent dfcae7456e
commit 6f6bf04e05

View File

@ -27,7 +27,7 @@ class Aftonbladet(Service):
yield ServiceError("Can't find video info") yield ServiceError("Can't find video info")
return return
janson = json.loads(decode_html_entities(match.group(1))) janson = json.loads(decode_html_entities(match.group(1)))
videoId = janson["videoId"] videoId = janson["aptomaVideoId"]
else: else:
videoId = match.group(1) videoId = match.group(1)
match = re.search(r'data-isLive="(\w+)"', data) match = re.search(r'data-isLive="(\w+)"', data)