1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-24 04:25:51 +01:00

[viewlift] Fix URL matching

This commit is contained in:
Sergey M․ 2019-10-01 23:16:46 +07:00
parent 326ae4ff96
commit 2906631e12
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -179,6 +179,10 @@ class ViewLiftIE(ViewLiftBaseIE):
'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):
domain, display_id = re.match(self._VALID_URL, url).groups()