mirror of https://github.com/yt-dlp/yt-dlp.git
Fix xvideos.py
I didn't catch that the conditional check got reversed by the suggested change from Pukkandan. This fixes that regression.
This commit is contained in:
parent
6b95b0cf5f
commit
dbd513d38c
|
@ -222,4 +222,4 @@ class XVideosQuickiesIE(InfoExtractor):
|
|||
|
||||
def _real_extract(self, url):
|
||||
domain, id_ = self._match_valid_url(url).group('domain', 'id')
|
||||
return self.url_result(f'https://{domain}/video{"." if id_.isdigit() else ""}{id_}/_', XVideosIE, id_)
|
||||
return self.url_result(f'https://{domain}/video{"" if id_.isdigit() else "."}{id_}/_', XVideosIE, id_)
|
||||
|
|
Loading…
Reference in New Issue