From: Sergey M? Date: Tue, 17 Feb 2015 16:31:35 +0000 (+0600) Subject: [extractor/common] Test URLs with GET X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=4069766c527d10b8e25b9262a3882101367deb3e;p=youtube-dl [extractor/common] Test URLs with GET --- diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index e74b7bf25..4b0ee882c 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 True except ExtractorError as e: if isinstance(e.cause, compat_HTTPError):