aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/myvideo.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-12-23 15:57:43 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-12-23 15:57:43 +0100
commitf45f96f8f83b7004960a269fea8bfab40a14c725 (patch)
tree11e8b0eeb8e92bcfe59b12346b3d474b4e43d16c /youtube_dl/extractor/myvideo.py
parent1538eff6d8ee73f2ae4ac1dd832a9ef978c63074 (diff)
[myvideo] Use RTMP instead of RTMPT (Fixes #2032)
Diffstat (limited to 'youtube_dl/extractor/myvideo.py')
-rw-r--r--youtube_dl/extractor/myvideo.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/youtube_dl/extractor/myvideo.py b/youtube_dl/extractor/myvideo.py
index 0404e6e43..6d35c7861 100644
--- a/youtube_dl/extractor/myvideo.py
+++ b/youtube_dl/extractor/myvideo.py
@@ -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