mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
Viaplay: fix for tv3play
This commit is contained in:
parent
f155eba822
commit
dccce47807
@ -655,7 +655,7 @@ def main():
|
||||
|
||||
elif re.findall("(tv3play|tv6play|tv8play)", url):
|
||||
parse = urlparse(url)
|
||||
match = re.search('\/play\/(.*)/', parse.path)
|
||||
match = re.search('\/play\/(.*)/?', parse.path)
|
||||
if not match:
|
||||
logging.error("Cant find video file")
|
||||
sys.exit(2)
|
||||
|
Loading…
Reference in New Issue
Block a user