mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +03:00
Mgtv: add another format of url
Fix indentation causing undefined variable
This commit is contained in:
parent
15cc69a120
commit
e914a4bbbf
@ -47,6 +47,8 @@ class MGTV(VideoExtractor):
|
||||
vid = match1(url, 'https?://www.mgtv.com/(?:b|l)/\d+/(\d+).html')
|
||||
if not vid:
|
||||
vid = match1(url, 'https?://www.mgtv.com/hz/bdpz/\d+/(\d+).html')
|
||||
if not vid:
|
||||
vid = match1(url, 'https?://www.mgtv.com/s/(\d+).html')
|
||||
return vid
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user