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:
parent
63a59707fe
commit
abf29827fb
@ -11,10 +11,7 @@ class OppetArkiv(Svtplay):
|
|||||||
|
|
||||||
def find_all_episodes(self, options):
|
def find_all_episodes(self, options):
|
||||||
page = 1
|
page = 1
|
||||||
error, data = self.get_urldata()
|
data = self.get_urldata()
|
||||||
if error:
|
|
||||||
log.error("Cant get web page")
|
|
||||||
return
|
|
||||||
match = re.search(r'"/etikett/titel/([^"/]+)', data)
|
match = re.search(r'"/etikett/titel/([^"/]+)', data)
|
||||||
if match is None:
|
if match is None:
|
||||||
match = re.search(r'"http://www.oppetarkiv.se/etikett/titel/([^/]+)/', self.url)
|
match = re.search(r'"http://www.oppetarkiv.se/etikett/titel/([^/]+)/', self.url)
|
||||||
|
Loading…
Reference in New Issue
Block a user