diff options
| author | Philipp Hagemeister <phihag@phihag.de> | 2013-12-23 15:57:43 +0100 | 
|---|---|---|
| committer | Philipp Hagemeister <phihag@phihag.de> | 2013-12-23 15:57:43 +0100 | 
| commit | f45f96f8f83b7004960a269fea8bfab40a14c725 (patch) | |
| tree | 11e8b0eeb8e92bcfe59b12346b3d474b4e43d16c /youtube_dl/extractor/common.py | |
| parent | 1538eff6d8ee73f2ae4ac1dd832a9ef978c63074 (diff) | |
[myvideo] Use RTMP instead of RTMPT (Fixes #2032)
Diffstat (limited to 'youtube_dl/extractor/common.py')
| -rw-r--r-- | youtube_dl/extractor/common.py | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 9d39c632a..0dd504444 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -242,6 +242,11 @@ class InfoExtractor(object):              xml_string = transform_source(xml_string)          return xml.etree.ElementTree.fromstring(xml_string.encode('utf-8')) +    def report_warning(self, msg, video_id=None): +        idstr = u'' if video_id is None else u'%s: ' % video_id +        self._downloader.report_warning( +            u'[%s] %s%s' % (self.IE_NAME, idstr, msg)) +      def to_screen(self, msg):          """Print msg to screen, prefixing it with '[ie_name]'"""          self._downloader.to_screen(u'[%s] %s' % (self.IE_NAME, msg)) | 
