A feature-rich command-line audio/video downloader
[extractor/common] Test URLs with GET
Sergey M?4069766c527d
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.pyindex e74b7bf25e..4b0ee882cb 100644--- 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 Trueexcept ExtractorError as e:if isinstance(e.cause, compat_HTTPError):