1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

dn.se has data-id attributes with a slightly different format

This commit is contained in:
Bart Coppens 2018-01-21 15:03:15 +01:00 committed by Johan Andersson
parent f6e46178a2
commit 3b8969eb2f

View File

@ -96,6 +96,8 @@ class Picsearch(Service, OpenGraphThumbMixin):
match = re.search(r'screen9-mid="([^"]+)"', self.get_urldata())
if not match:
match = re.search(r'data-id="([^"]+)"', self.get_urldata())
if not match:
match = re.search(r'data-id=([^ ]+) ', self.get_urldata())
if not match:
match = re.search(r'data-videoid="([^"]+)"', self.get_urldata())
if not match: