From: Sergey M․ Date: Tue, 1 Oct 2019 16:16:46 +0000 (+0700) Subject: [viewlift] Fix URL matching X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2906631e1230617883cdef8e227b369a9c98c9fb;p=youtube-dl [viewlift] Fix URL matching --- diff --git a/youtube_dl/extractor/viewlift.py b/youtube_dl/extractor/viewlift.py index 391419d9e..851ad936c 100644 --- a/youtube_dl/extractor/viewlift.py +++ b/youtube_dl/extractor/viewlift.py @@ -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()