1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

oppetarkiv: request fixes

This commit is contained in:
Johan Andersson 2015-08-31 17:14:31 +02:00
parent 63a59707fe
commit abf29827fb

View File

@ -11,10 +11,7 @@ class OppetArkiv(Svtplay):
def find_all_episodes(self, options):
page = 1
error, data = self.get_urldata()
if error:
log.error("Cant get web page")
return
data = self.get_urldata()
match = re.search(r'"/etikett/titel/([^"/]+)', data)
if match is None:
match = re.search(r'"http://www.oppetarkiv.se/etikett/titel/([^/]+)/', self.url)