1
0
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:
Johan Andersson 2012-07-30 19:09:20 +02:00
parent f155eba822
commit dccce47807

View File

@ -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)