Browse Source
[generic] Fix test_Generic_2
Now a HEAD request returns 400 Bad Request
totalwebcasting
Yen Chi Hsuan
9 years ago
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30
1 changed files with
2 additions and
1 deletions
-
youtube_dl/extractor/generic.py
|
@ -105,7 +105,8 @@ class GenericIE(InfoExtractor): |
|
|
'skip_download': True, # infinite live stream |
|
|
'skip_download': True, # infinite live stream |
|
|
}, |
|
|
}, |
|
|
'expected_warnings': [ |
|
|
'expected_warnings': [ |
|
|
r'501.*Not Implemented' |
|
|
|
|
|
|
|
|
r'501.*Not Implemented', |
|
|
|
|
|
r'400.*Bad Request', |
|
|
], |
|
|
], |
|
|
}, |
|
|
}, |
|
|
# Direct link with incorrect MIME type |
|
|
# Direct link with incorrect MIME type |
|
|