about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2014-02-06 21:26:12 +0700
committerSergey M. <dstftw@gmail.com>2014-02-06 21:26:12 +0700
commit95c29381eb8994370ee3924427ecc344ec891f63 (patch)
tree101015d764dac9dc594ffc8ce8f5b2afabd44e12
parent94c4abce7fd55d076e9d9529f92696fe25ef2d17 (diff)
downloadyoutube-dl-95c29381eb8994370ee3924427ecc344ec891f63.tar.gz
youtube-dl-95c29381eb8994370ee3924427ecc344ec891f63.tar.xz
youtube-dl-95c29381eb8994370ee3924427ecc344ec891f63.zip
[mooshare] Fix bogus video page URL
-rw-r--r--youtube_dl/extractor/mooshare.py4
1 files changed, 2 insertions, 2 deletions
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