1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

mtvservices: data input to re.search

This commit is contained in:
Johan Andersson 2014-12-22 11:02:28 +01:00
parent 3fa00d18be
commit 282a9cd273

View File

@ -19,7 +19,7 @@ class Mtvservices(Service):
if error:
log.error("Cant get page")
return
match = re.search(r"mgid=\"(mgid.*[0-9]+)\" data-wi", )
match = re.search(r"mgid=\"(mgid.*[0-9]+)\" data-wi", data)
if not match:
log.error("Can't find video file")
return