aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-04-16 19:44:12 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-04-16 19:44:45 +0800
commitef0e4e7bc03669fbef0cb7923a21637a71993dad (patch)
tree85f25f9a9efa33d587b6351c287e4c5a04f44ec2 /youtube_dl/extractor/generic.py
parent67d46a3f90ffebbdd1e83ec7b760f89e4bf32ce1 (diff)
[generic] Fix test_Generic_2
Now a HEAD request returns 400 Bad Request
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 5b22b6b5e..518b4f9de 100644
--- 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