youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 4069766c527d10b8e25b9262a3882101367deb3e
parent 7010577720bbea309566c38adbd912c15400b9fc
Author: Sergey M? <dstftw@gmail.com>
Date:   Tue, 17 Feb 2015 22:31:35 +0600

[extractor/common] Test URLs with GET

Diffstat:
Myoutube_dl/extractor/common.py | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 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):