Browse Source

[generic] Output something before making network requests

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
c1d1facd06
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      youtube_dl/extractor/generic.py

+ 2
- 0
youtube_dl/extractor/generic.py View File

@ -162,6 +162,8 @@ class GenericIE(InfoExtractor):
return self.url_result('http://' + url)
video_id = os.path.splitext(url.split('/')[-1])[0]
self.to_screen(u'%s: Requesting header' % video_id)
try:
response = self._send_head(url)


Loading…
Cancel
Save