Commit Graph

22 Commits (a2000bc85730c950351d78bb818493dc39dca3cb)

Author SHA1 Message Date
Matthew 8e40b9d1ec
Improve plugin architecture ()
to make plugins easier to develop and use:
* Plugins are now loaded as namespace packages.
* Plugins can be loaded in any distribution of yt-dlp (binary, pip, source, etc.).
* Plugin packages can be installed and managed via pip, or dropped into any of the documented locations.
* Users do not need to edit any code files to install plugins.
* Backwards-compatible with previous plugin architecture.

As a side-effect, yt-dlp will now search in a few more locations for config files.

Closes https://github.com/yt-dlp/yt-dlp/issues/1389

Authored by: flashdagger, coletdjnz, pukkandan, Grub4K
Co-authored-by: Marcel <flashdagger@googlemail.com>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
nixxo 81b6102d20
[downloader/ism] Support ec-3 codec ()
Closes 
Authored by: nixxo
coletdev bb58c9ed5c
Add support for SSL client certificate authentication ()
Adds `--client-certificate`, `--client-certificate-key`, `--client-certificate-password`

Authored-by: coletdjnz
Co-authored-by: df <fieldhouse@gmx.net>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
pukkandan 337e0c62f8
[embedthumbnail] Correctly escape filename
Closes 
The approach in [1] is faulty as can be seen in the test cases
1. bff857a8af
Felix S 5fbcebed8c [test] Test SSTR manifest parsing
Felix S becdc7f82c [test] Test subtitle extraction from DASH manifests
Felix S 73b9088a1c [test] Test subtitle extraction from HLS manifests
shirt-dev 310c2ed2c6
Better support HLS media discontinuity and fully support media initialization ()
* Added options: `--hls-split-discontinuity` and `--no-hls-split-discontinuity`

Authored-by: shirtjs <2660574+shirtjs@users.noreply.github.com>
Sergey M․ c380cc28c4
[utils] Improve cookie files support
+ Add support for UTF-8 in cookie files
* Skip malformed cookie file entries instead of crashing (invalid entry len, invalid expires at)
Sergey M․ 042b664933
Revert "[utils] Add support for cookies with spaces used instead of tabs"
According to [1] TABs must be used as separators between fields.
Files produces by some tools with spaces as separators are considered
malformed.

1. https://curl.haxx.se/docs/http-cookies.html

This reverts commit cff99c91d1.
Sergey M․ cff99c91d1
[utils] Add support for cookies with spaces used instead of tabs
Sergey M․ 2e27421c70
[test_InfoExtractor] Add test for
remitamine e7e62441cd [utils] strip #HttpOnly_ prefix from cookies files ()
Remita Amine fc746c3fdd [test/test_InfoExtractor] add test for
Sergey M․ 6e29458f24
[test/testdata/cookies/session_cookies.txt] Fix empty expires test data
Sergey M․ 9e02c2c704
[YoutubeDLCookieJar] Add test for keeping session cookies
Ricardo Constantino 96b8b9abae
[extractor/generic] Support relative URIs in _parse_xspf
<location> can have relative URIs, not just absolute.
Petr Novak 41bf647e89
[extractor/common] Add support for DASH manifests with SegmentLists with bare SegmentURLs
Sergey M․ 181e381fda
[test_InfoExtractor] Add test for
Sergey M․ 4850478543
[extractor/common] Add support for float durations in _parse_mpd_formats (closes )
Sergey M․ 538eee7b6a
Add missing test m3u8 file
Sergey M․ cb2520802d
[extractor/common] Improve m3u8 extraction (closes )
* Extract m3u8 parsing to separate method
* Improve rendition groups extraction
* Build stream name according stream GROUP-ID
* Ignore reference to AUDIO group without URI when stream has no CODECS
+ Add test coverage for parsing m3u8 from , ,  and twitch vod