1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +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")
return
janson = json.loads(decode_html_entities(match.group(1)))
videoId = janson["videoId"]
videoId = janson["aptomaVideoId"]
else:
videoId = match.group(1)
match = re.search(r'data-isLive="(\w+)"', data)