youtube-dl

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

commit 406224be5231e602b543579706ad6056b75fbe68
parent 553e412bda0c2329bd4c6353cd392c50a81bd594
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu,  7 May 2015 21:02:59 +0600

[extractor/generic] Fix following incomplete redirects (#5640)

Diffstat:
Myoutube_dl/extractor/generic.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py @@ -1453,7 +1453,7 @@ class GenericIE(InfoExtractor): if refresh_header: found = re.search(REDIRECT_REGEX, refresh_header) if found: - new_url = found.group(1) + new_url = compat_urlparse.urljoin(url, found.group(1)) self.report_following_redirect(new_url) return { '_type': 'url',