[mooshare] Fix bogus video page URL
authorSergey M. <dstftw@gmail.com>
Thu, 6 Feb 2014 14:26:12 +0000 (21:26 +0700)
committerSergey M. <dstftw@gmail.com>
Thu, 6 Feb 2014 14:26:12 +0000 (21:26 +0700)
youtube_dl/extractor/mooshare.py

index 909d21a99ad89a679f13e4ac2695aa28f8902fb8..f1875add5ff0626750827276935d861c25e4d7e3 100644 (file)
@@ -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