1
0
mirror of https://gitlab.com/ytdl-org/youtube-dl.git synced 2025-11-11 08:37:07 -05:00
Files
youtube-dl/youtube_dl/extractor/common.py
Sergey M․ d391b7e23d [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.
2018-06-18 04:54:08 +07:00

129 KiB