mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 15:14:14 +01:00
viafree: fix a warning with multiple spaces after ','
This commit is contained in:
parent
32aaabd9a9
commit
a7aa860f61
@ -217,7 +217,7 @@ class Viaplay(Service, OpenGraphThumbMixin):
|
||||
baseurl = self.url
|
||||
match = re.search("(saeson|sasong|sesong)-\d+", urlparse(self.url).path)
|
||||
if match:
|
||||
if re.search("(avsnitt|episode)", urlparse(baseurl).path):
|
||||
if re.search("(avsnitt|episode)", urlparse(baseurl).path):
|
||||
baseurl = baseurl[:baseurl.rfind("/")]
|
||||
baseurl = baseurl[:baseurl.rfind("/")]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user