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:
parent
3fa00d18be
commit
282a9cd273
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user