about summary refs log tree commit diff
path: root/youtube_dl/extractor/fc2.py
diff options
context:
space:
mode:
authorh-collector <githcoll@gmail.com>2014-07-06 01:48:07 +0200
committerh-collector <githcoll@gmail.com>2014-10-20 18:53:53 +0200
commit40b1cbafacea338e51d43fa78438eaf21a1bcbcd (patch)
tree662ce7799ee9b1c96b87609b91c30197051a7ad7 /youtube_dl/extractor/fc2.py
parent4231235cdaa18d050f3119a80ac409138fb8e8bd (diff)
downloadyoutube-dl-40b1cbafacea338e51d43fa78438eaf21a1bcbcd.tar.gz
youtube-dl-40b1cbafacea338e51d43fa78438eaf21a1bcbcd.tar.xz
youtube-dl-40b1cbafacea338e51d43fa78438eaf21a1bcbcd.zip
Update fc2.py
Diffstat (limited to 'youtube_dl/extractor/fc2.py')
-rw-r--r--youtube_dl/extractor/fc2.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/fc2.py b/youtube_dl/extractor/fc2.py
index ecfb233f9..0933485e0 100644
--- a/youtube_dl/extractor/fc2.py
+++ b/youtube_dl/extractor/fc2.py
@@ -87,10 +87,10 @@ class FC2IE(InfoExtractor):
         if 'err_code' in info:
             #raise ExtractorError('Error code: %s' % info['err_code'][0])
             # most of the time we can still download wideo even if err_code is 403 or 602
-            print 'Error code was: %s... but still trying' % info['err_code'][0]
-            
+            self._downloader.report_warning('Error code was: %s... but still trying' % info['err_code'][0])
+
         if 'filepath' not in info:
-            raise ExtractorError('No file path for download. Maybe not logged?')
+            raise ExtractorError('Cannot download file. Are you logged?')
 
         video_url = info['filepath'][0] + '?mid=' + info['mid'][0]
         title_info = info.get('title')