mirror of https://github.com/yt-dlp/yt-dlp.git
Update yt_dlp/extractor/xvideos.py
Commit suggested change from pukkandan Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
This commit is contained in:
parent
89c0faa957
commit
6b95b0cf5f
|
@ -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 int_or_none(id_) == None else ""}{id_}/_', XVideosIE, id_)
|
||||
return self.url_result(f'https://{domain}/video{"." if id_.isdigit() else ""}{id_}/_', XVideosIE, id_)
|
||||
|
|
Loading…
Reference in New Issue