提交 8f682fd5 编写于 作者: M Mort Yao

VideoExtractor: replace misleading error message

上级 cdc5b373
...@@ -168,10 +168,7 @@ class VideoExtractor(): ...@@ -168,10 +168,7 @@ class VideoExtractor():
urls = self.streams[stream_id]['src'] urls = self.streams[stream_id]['src']
if not urls: if not urls:
log.e('[Failed] Cannot extract video source.') log.wtf('[Failed] Cannot extract video source.')
log.e('This is most likely because the video has not been made available in your country.')
log.e('You may try to use a proxy via \'-y\' for extracting stream data.')
exit(1)
# For legacy main() # For legacy main()
download_urls(urls, self.title, self.streams[stream_id]['container'], self.streams[stream_id]['size'], output_dir=kwargs['output_dir'], merge=kwargs['merge']) download_urls(urls, self.title, self.streams[stream_id]['container'], self.streams[stream_id]['size'], output_dir=kwargs['output_dir'], merge=kwargs['merge'])
# For main_dev() # For main_dev()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册