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

urplay: fix scrape so it works again

this fixes: #374
This commit is contained in:
Johan Andersson 2016-04-26 23:22:59 +02:00
parent 254edb99b7
commit 92b734daab

View File

@ -59,6 +59,10 @@ class Urplay(Service, OpenGraphThumbMixin):
self.get_urldata()):
res.append(urljoin(self.url, relurl.replace("&", "&")))
for relurl in re.findall(r'<a class="card program"\s+href="([^"]*)"',
self.get_urldata()):
res.append(urljoin(self.url, relurl.replace("&amp;", "&")))
if options.all_last != -1:
res = res[-options.all_last:]