aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/cnbc.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-06-18 04:01:48 +0700
committerSergey M․ <dstftw@gmail.com>2018-06-18 04:54:08 +0700
commitd391b7e23d3d6c2af03c6329b4bf059ec095f33d (patch)
tree100ea8d1a705981db003e53ca87c9b51b293aa05 /youtube_dl/extractor/cnbc.py
parent075a13d3e9e860f0033ea5a37795bebba02690b1 (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/extractor/cnbc.py')
0 files changed, 0 insertions, 0 deletions