youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 363a4e1114c79144c6dd535a5367f8e3612f3dfb
parent 3210735c499e6a7d0b4df4b8120e17bd7ba8927b
Author: Filippo Valsorda <filippo.valsorda@gmail.com>
Date:   Tue, 31 Jul 2012 01:40:29 +0200

xvideos patch by @pocoimporta - closes #370

Diffstat:
Myoutube-dl | 0
Myoutube-dl.exe | 0
Myoutube_dl/InfoExtractors.py | 4++--
3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/youtube-dl b/youtube-dl Binary files differ. diff --git a/youtube-dl.exe b/youtube-dl.exe Binary files differ. diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py @@ -2359,11 +2359,11 @@ class XVideosIE(InfoExtractor): # Extract video thumbnail - mobj = re.search(r'http://(?:img.*?\.)xvideos.com/videos/thumbs/[a-fA-F0-9]/[a-fA-F0-9]/[a-fA-F0-9]/([a-fA-F0-9.]+jpg)', webpage) + mobj = re.search(r'http://(?:img.*?\.)xvideos.com/videos/thumbs/[a-fA-F0-9]+/[a-fA-F0-9]+/[a-fA-F0-9]+/[a-fA-F0-9]+/([a-fA-F0-9.]+jpg)', webpage) if mobj is None: self._downloader.trouble(u'ERROR: unable to extract video thumbnail') return - video_thumbnail = mobj.group(1).decode('utf-8') + video_thumbnail = mobj.group(0).decode('utf-8') info = { 'id': video_id,