commit: 2906631e1230617883cdef8e227b369a9c98c9fb
parent 326ae4ff96ca5663cca273126f95bd7eecf5a012
Author: Sergey M․ <dstftw@gmail.com>
Date: Tue, 1 Oct 2019 23:16:46 +0700
[viewlift] Fix URL matching
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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()