This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[generic] Output something before making network requests
totalwebcasting
Philipp Hagemeister
11 years ago
parent
b26559878f
commit
c1d1facd06
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
Write
Preview
Loading…
Cancel
Save