Fix some regexes
This commit is contained in:
parent
8992331621
commit
197224b7a4
30 changed files with 35 additions and 35 deletions
|
@ -258,7 +258,7 @@ class MTVServicesInfoExtractor(InfoExtractor):
|
|||
|
||||
if mgid is None or ':' not in mgid:
|
||||
mgid = self._search_regex(
|
||||
[r'data-mgid="(.*?)"', r'swfobject.embedSWF\(".*?(mgid:.*?)"'],
|
||||
[r'data-mgid="(.*?)"', r'swfobject\.embedSWF\(".*?(mgid:.*?)"'],
|
||||
webpage, 'mgid', default=None)
|
||||
|
||||
if not mgid:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue