mirror of https://github.com/yt-dlp/yt-dlp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9ecbbcd844
Previously URLs that contained `/video/get_media` returned JSON with available formats. Some time ago Pornhub seem to removed this endpoint and has started to return `HTTP Error 403: Forbidden`, see #4298. Nowadays it seem to serve originally requested html page which, of course, cannot be parsed with JSON parser. yt-dlp produced WARNING: ``` Failed to parse JSON: Expecting value in '': line 1 column 1 (char 0). ``` Since we are already getting format of the video by other means (`mpd` or `m3u8`) this change removes fetching of URLs that don't provide value to us anymore. Fixes: #5615 |
2 years ago | |
---|---|---|
.. | ||
compat | 2 years ago | |
downloader | 2 years ago | |
extractor | 2 years ago | |
postprocessor | 2 years ago | |
YoutubeDL.py | 2 years ago | |
__init__.py | 2 years ago | |
__main__.py | 2 years ago | |
aes.py | 2 years ago | |
cache.py | 2 years ago | |
cookies.py | 2 years ago | |
dependencies.py | 2 years ago | |
jsinterp.py | 2 years ago | |
minicurses.py | 2 years ago | |
options.py | 2 years ago | |
socks.py | 3 years ago | |
update.py | 2 years ago | |
utils.py | 2 years ago | |
version.py | 2 years ago | |
webvtt.py | 2 years ago |