projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
326ae4f
)
[viewlift] Fix URL matching
author
Sergey M․
<dstftw@gmail.com>
Tue, 1 Oct 2019 16:16:46 +0000
(23:16 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 1 Oct 2019 16:18:11 +0000
(23:18 +0700)
youtube_dl/extractor/viewlift.py
patch
|
blob
|
history
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()