Mgtv: add another format of url

Fix indentation causing undefined variable
This commit is contained in:
Bochun Bai 2021-01-13 20:55:19 -08:00
parent 15cc69a120
commit e914a4bbbf
No known key found for this signature in database
GPG Key ID: 8433534ED5D633FD

View File

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