diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-06-18 04:01:48 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-06-18 04:54:08 +0700 |
commit | d391b7e23d3d6c2af03c6329b4bf059ec095f33d (patch) | |
tree | 100ea8d1a705981db003e53ca87c9b51b293aa05 /youtube_dl/swfinterp.py | |
parent | 075a13d3e9e860f0033ea5a37795bebba02690b1 (diff) |
[extractor/common] Introduce expected_status for convenient accept of failed HTTP requests
Useful when some non-success (2xx) HTTP status codes should be considered normal. Previously this required to manually catch corresponding exceptions and read the response.
Diffstat (limited to 'youtube_dl/swfinterp.py')
0 files changed, 0 insertions, 0 deletions