projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7010577
)
[extractor/common] Test URLs with GET
author
Sergey M?
<dstftw@gmail.com>
Tue, 17 Feb 2015 16:31:35 +0000
(22:31 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 17 Feb 2015 16:35:27 +0000
(22:35 +0600)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index e74b7bf25e9aa6be1dbbc92e1748e730bc1e739d..4b0ee882cb3db5b40a9bb3cd9b300d408b828345 100644
(file)
--- a/
youtube_dl/extractor/common.py
+++ b/
youtube_dl/extractor/common.py
@@
-753,9
+753,7
@@
class InfoExtractor(object):
def _is_valid_url(self, url, video_id, item='video'):
try:
- self._request_webpage(
- HEADRequest(url), video_id,
- 'Checking %s URL' % item)
+ self._request_webpage(url, video_id, 'Checking %s URL' % item)
return True
except ExtractorError as e:
if isinstance(e.cause, compat_HTTPError):