From: Sergey M. Date: Thu, 6 Feb 2014 14:26:12 +0000 (+0700) Subject: [mooshare] Fix bogus video page URL X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=95c29381eb8994370ee3924427ecc344ec891f63;p=youtube-dl [mooshare] Fix bogus video page URL --- diff --git a/youtube_dl/extractor/mooshare.py b/youtube_dl/extractor/mooshare.py index 909d21a99..f1875add5 100644 --- a/youtube_dl/extractor/mooshare.py +++ b/youtube_dl/extractor/mooshare.py @@ -61,7 +61,7 @@ class MooshareIE(InfoExtractor): } request = compat_urllib_request.Request( - 'http://mooshare.biz/8dqtk4bjbp8g', compat_urllib_parse.urlencode(download_form)) + 'http://mooshare.biz/%s' % video_id, compat_urllib_parse.urlencode(download_form)) request.add_header('Content-Type', 'application/x-www-form-urlencoded') self.to_screen('%s: Waiting for timeout' % video_id) @@ -111,4 +111,4 @@ class MooshareIE(InfoExtractor): 'thumbnail': thumbnail, 'duration': duration, 'formats': formats, - } + } \ No newline at end of file