projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[viewlift] Fix URL matching
[youtube-dl]
/
youtube_dl
/
extractor
/
viewlift.py
diff --git
a/youtube_dl/extractor/viewlift.py
b/youtube_dl/extractor/viewlift.py
index 391419d9ef9366478405b05504ac2832260c6733..851ad936cfc012b02c3125c9a0a3e898f9c6f005 100644
(file)
--- 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()