]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/myvideo.py
Merge tag 'upstream/2014.02.17'
[youtubedl] / youtube_dl / extractor / myvideo.py
index 0404e6e43f381c86f8bb91633ca5524564009957..6d35c7861f38f844385454fb7e7d9e8d5ff029a9 100644 (file)
@@ -143,8 +143,10 @@ class MyVideoIE(InfoExtractor):
         if mobj:
             video_url = compat_urllib_parse.unquote(mobj.group(1))
             if 'myvideo2flash' in video_url:
-                self._downloader.report_warning(u'forcing RTMPT ...')
-                video_url = video_url.replace('rtmpe://', 'rtmpt://')
+                self.report_warning(
+                    u'Rewriting URL to use unencrypted rtmp:// ...',
+                    video_id)
+                video_url = video_url.replace('rtmpe://', 'rtmp://')
 
         if not video_url:
             # extract non rtmp videos