Browse Source

[viewlift] Fix URL matching

master
Sergey M․ 5 years ago
parent
commit
2906631e12
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 4 additions and 0 deletions
  1. 4
      youtube_dl/extractor/viewlift.py

4
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()

Loading…
Cancel
Save