aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2019-10-01 23:16:46 +0700
committerSergey M․ <dstftw@gmail.com>2019-10-01 23:18:11 +0700
commit2906631e1230617883cdef8e227b369a9c98c9fb (patch)
treee35de98a2bf9916b596c4d1f01b7232a99adfda3
parent326ae4ff96ca5663cca273126f95bd7eecf5a012 (diff)
downloadyoutube-dl-2906631e1230617883cdef8e227b369a9c98c9fb.tar.xz
[viewlift] Fix URL matching
-rw-r--r--youtube_dl/extractor/viewlift.py4
1 files changed, 4 insertions, 0 deletions
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()