projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67d46a3
)
[generic] Fix test_Generic_2
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sat, 16 Apr 2016 11:44:12 +0000
(19:44 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sat, 16 Apr 2016 11:44:45 +0000
(19:44 +0800)
Now a HEAD request returns 400 Bad Request
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 5b22b6b5e4568fbe60845491845c468f3606d262..518b4f9de1c49cd7884f8c590422e8249e476d20 100644
(file)
--- a/
youtube_dl/extractor/generic.py
+++ b/
youtube_dl/extractor/generic.py
@@
-105,7
+105,8
@@
class GenericIE(InfoExtractor):
'skip_download': True, # infinite live stream
},
'expected_warnings': [
- r'501.*Not Implemented'
+ r'501.*Not Implemented',
+ r'400.*Bad Request',
],
},
# Direct link with incorrect MIME type