mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-13 04:47:26 +00:00
[viewlift] Fix URL matching
This commit is contained in:
parent
326ae4ff96
commit
2906631e12
@ -179,6 +179,10 @@ class ViewLiftIE(ViewLiftBaseIE):
|
|||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def suitable(cls, url):
|
||||||
|
return False if ViewLiftEmbedIE.suitable(url) else super(ViewLiftIE, cls).suitable(url)
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
domain, display_id = re.match(self._VALID_URL, url).groups()
|
domain, display_id = re.match(self._VALID_URL, url).groups()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user