mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
viaplay: use data-video-id instead of data-emediate-video_id.
based on a fix by @magic75 and this fixes #108
This commit is contained in:
parent
b4638d0bb7
commit
abaf1e19a9
@ -38,7 +38,7 @@ class Viaplay(Service, OpenGraphThumbMixin):
|
|||||||
unable to extract the ID at all.
|
unable to extract the ID at all.
|
||||||
"""
|
"""
|
||||||
html_data = self.get_urldata()
|
html_data = self.get_urldata()
|
||||||
match = re.search(r'data-emediate-video_id="([0-9]+)"', html_data)
|
match = re.search(r'data-video-id="([0-9]+)"', html_data)
|
||||||
if match:
|
if match:
|
||||||
return match.group(1)
|
return match.group(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user