mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +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):
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user