Skip to content

Commit

Permalink
[viewlift] Fix URL matching
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw authored and pareronia committed Jun 22, 2020
1 parent 48526d2 commit 26f07bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions youtube_dl/extractor/viewlift.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 26f07bc

Please sign in to comment.