Commit Graph

21292 Commits (9ecbbcd844c0e26e7325004994add692fd381b05)
 

Author SHA1 Message Date
scrat5h 9ecbbcd844 [extractor/pornhub] Remove fetch of /video/get_media for formats
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 .

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: 
scrat5h 6887f87208 [extractor/pornhub] URL to subtitles is relative
`closedCaptionsFile` field on the page is not absolute URL (anymore?)
but relative one.

This change makes extracting subtitles working again.
scrat5h 1138e33ac5 [extractor/pornhub] Add data for tests
scrat5h bdceb022d0 [extractor/pornhub] uploader in test renamed from Babes to BABES-COM
Elan Ruusamäe 9d52bf65ff
[extractor/kanal2] Add extractor ()
Authored by: glensc, pukkandan, bashonly
bashonly d761dfd059
[extractor/naver] Improve `_VALID_URL` for `NaverNowIE` ()
Authored by: bashonly
bashonly 27c0f899c8
[extractor/screencastify] Add extractor ()
Closes 
Authored by: bashonly
bashonly 7ff2fafe47
[extractor/vimeo] Add `VimeoProIE` ()
* Add support for VimeoPro URLs not containing a Vimeo video ID
* Add support for password-protected VimeoPro pages
Closes 
Authored by: bashonly, pukkandan
bashonly 3b021eacef
[extractor/generic] Add `fragment_query` extractor arg for DASH and HLS ()
* `fragment_query`: passthrough any query in generic mpd/m3u8 manifest URLs to their fragments
* Add support for `extra_param_to_segment_url` to DASH downloader
Authored by: bashonly, pukkandan
Marcel f352a09778
[webvtt] Handle premature EOF
Closes , closes 
Authored by: flashdagger
chengzhicn 02b2f9fa7d
[extractor/reddit] Add vcodec to fallback format ()
Authored by: chengzhicn
pukkandan 29ca408219
[FormatSort] Add `mov` to `vext`
Closes 
pukkandan 8486540257
[extractor/unsupported] Add more URLs
Closes , Closes , Closes 
bashonly ed027fd9d8
[extractor/generic] Fix JSON LD manifest extraction ()
Closes 
Authored by: bashonly, pukkandan
bashonly 352e7d9873
[extractor/twitter] Refresh guest token when expired ()
Closes 
Authored by: bashonly, Grub4K
nixxo 9a0416c6a5
[extractor/twitter:spaces] Add 'Referer' to m3u8 ()
Closes 
Authored by: nixxo
bashonly f5a9e9df0d
[extractor/brightcove] Add `BrightcoveNewBaseIE` and fix embed extraction ()
* Move Brightcove embed extraction and tests into the IEs
* Split `BrightcoveNewBaseIE` from `BrightcoveNewIE`
* Fix bug in ade1fa70cb with the "wrong" spelling of `referrer` being smuggled

Closes 
bashonly f96a3fb7d3
[extractor/redgifs] Fix bug in 8c188d5d09 ()
Bnyro bc87dac75f
[extractor/youtube] Add `piped.video` ()
Closes 
Authored by: Bnyro
pukkandan 9f14daf22b
[extractor] Deprecate `_sort_formats`
pukkandan 784320c98c
Implement universal format sorting
Closes 
pukkandan d0d74b7197
[utils] Move format sorting code into `utils`
pukkandan 64c464a144
[utils] Move `FileDownloader.parse_bytes` into utils
pukkandan 4de88a6a36
[extractor/generic] Don't report redirect to https
pukkandan 105bfd90f5
Add new field `aspect_ratio`
Closes 
pukkandan 6368e2e639
[cleanup] Misc
Closes 
pukkandan a4894d3e25
[extractor/youtube] Consider language in format de-duplication
pukkandan d7b460d0e5
Make early reject of `--match-filter` stricter
Closes 
pukkandan 171a31dbe8
[extractor] Add a way to distinguish IEs that returns only videos
pukkandan 83cc7b8aae
[utils] `classproperty`: Add cache support
Elyse 0a4b2f4180
[extractor/tencent] Fix geo-restricted video ()
Closes 
Authored by: elyse0
pukkandan a8c754cc00
[extractor/youtube] Fix bug in handling of music URLs
Bug in bd7e919a75
Closes 
pukkandan bc5c2f8a2c
Fix bugs in `PlaylistEntries`
Audrey d965856235
[extractor/Veoh] Add user extractor ()
Authored by: tntmod54321
pukkandan 08270da5c3
[extractor/youtube] Fix `ytuser:`
github-actions 5e39fb982e [version] update
Created by: pukkandan

:ci skip all :ci run dl
pukkandan 8b644025b1
Release 2022.11.11
Robert Geislinger 7aaf4cd2a8
[cleanup] Misc
Closes , Closes 

Authored by: pukkandan, Alienmaster
pukkandan 8522226d2f
[ThumbnailsConvertor] Fix filename escaping
Closes 
Authored by: pukkandan, dirkf
Vitaly Khabarov f4b2c59cfe
[extractor/YleAreena] Add extractor ()
Closes 
Authored by: vitkhab, pukkandan
Timendum 7c8c63529e
[extractor/cinetecamilano] Add extractor ()
Closes 
Authored by: timendum
bashonly e4221b700f
Fix `--list` options not implying `-s` in some cases ()
Authored by: bashonly, Grub4K
pukkandan bd7e919a75
[extractor/youtube:tab] Improvements to tab handling ()
* Better handling of direct channel URLs - See https://github.com/yt-dlp/yt-dlp/pull/5439#issuecomment-1309322019
* Prioritize tab id from URL slug - Closes 
* Add metadata for the wrapping playlist
* Simplify redirect for music playlists
pukkandan f7fc8d39e9
[extractor] Fix `fatal=False` for `_search_nuxt_data`
Closes 
mlampe a6858cda29
[build] Make linux binary truly standalone using `conda` ()
Authored by: mlampe
MrOctopus 17fc3dc48a
[build] Create armv7l and aarch64 releases ()
Closes 
Authored by: MrOctopus, pukkandan
Matthew 3f5c216969
[extractor/nzherald] Support new video embed ()
Authored by: coletdjnz
Matthew e72e48c53f
[extractor/youtube] Ignore incomplete data error for comment replies ()
When --ignore-errors is used.
Closes https://github.com/yt-dlp/yt-dlp/issues/4669
Authored by: coletdjnz
Matthew 0cf643b234
[extractor/youtube] Differentiate between no and disabled comments ()
`comments` and `comment_count` will be set to None, as opposed to 
an empty list and 0, respectively.

Fixes https://github.com/yt-dlp/yt-dlp/issues/5068

Authored by: coletdjnz, pukkandan
Sergey dc3028d233
[build] `py2exe`: Migrate to freeze API ()
Closes 
Authored by: SG5, pukkandan