logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 23ad6402a6966dd09e4c854f32c33f69be1a064e
parent 96423449659131ed8e7bfaa7f791466c3f8f2db1
Author: Chris Rose <offline@offby1.net>
Date:   Fri, 26 Nov 2021 08:08:17 -0800

xvideos: Fix for #30271

Diffstat:

Myoutube_dl/extractor/xvideos.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/xvideos.py b/youtube_dl/extractor/xvideos.py @@ -82,7 +82,7 @@ class XVideosIE(InfoExtractor): video_id = self._match_id(url) webpage = self._download_webpage( - 'https://www.xvideos.com/video%s/' % video_id, video_id) + 'https://www.xvideos.com/video%s/0' % video_id, video_id) mobj = re.search(r'<h1 class="inlineError">(.+?)</h1>', webpage) if mobj: