projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d52f2e
)
[extractor/common] Relax valid url check verbosity
author
Sergey M․
<dstftw@gmail.com>
Sat, 16 May 2015 20:59:35 +0000
(
02:59
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 16 May 2015 20:59:35 +0000
(
02:59
+0600)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 65bb7708638a20a7e162c8ad8a06321434461ae6..cecf917ffb67040739bbacf573297ba891ec9ea1 100644
(file)
--- a/
youtube_dl/extractor/common.py
+++ b/
youtube_dl/extractor/common.py
@@
-786,8
+786,8
@@
class InfoExtractor(object):
return True
except ExtractorError as e:
if isinstance(e.cause, compat_HTTPError):
- self.
report_warning
(
- '%s
URL is invalid, skipping' % item, video_id
)
+ self.
to_screen
(
+ '%s
: %s URL is invalid, skipping' % (video_id, item)
)
return False
raise