[viewlift] Fix URL matching
authorSergey M․ <dstftw@gmail.com>
Tue, 1 Oct 2019 16:16:46 +0000 (23:16 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 1 Oct 2019 16:18:11 +0000 (23:18 +0700)
youtube_dl/extractor/viewlift.py

index 391419d9ef9366478405b05504ac2832260c6733..851ad936cfc012b02c3125c9a0a3e898f9c6f005 100644 (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()