aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [outtmpl] Fix some minor bugspukkandan2023-06-211-1/+1
| | | | Closes #7164
* [utils] `FormatSorter`: Improve `size` and `br`pukkandan2023-06-211-10/+0
| | | | | | | | | | | | Closes #1596 Previously, when some formats have accurate size and some approximate, the ones with accurate size was always prioritized For formats with known tbr and unknown vbr/abr, we were setting (vbr=tbr, abr=0) for sorting to work. This is no longer needed. Authored by pukkandan, u-spec-png
* [jsinterp] Fix global object extractionpukkandan2023-06-181-1/+6
| | | | Closes #7327
* [jsinterp] Fix division (#7279)bashonly2023-06-102-0/+11
| | | | | * Fixes nsig decryption for Youtube JS player `8c7583ff` Authored by: bashonly
* [cookies] Update for chromium changes (#6897)Matt Broadway2023-05-291-6/+12
| | | Authored by: mbway
* [core] Support decoding multiple content encodings (#7142)coletdjnz2023-05-271-0/+76
| | | Authored by: coletdjnz
* [cookies] Move `YoutubeDLCookieJar` to cookies module (#7091)coletdjnz2023-05-271-1/+7
| | | Authored by: coletdjnz
* [core] Improve HTTP redirect handling (#7094)coletdjnz2023-05-272-36/+262
| | | | | | | Aligns HTTP redirect handling with what browsers commonly do and RFC standards. Fixes issues https://github.com/yt-dlp/yt-dlp/commit/afac4caa7db30804bebac33e53c3cb0237958224 missed. Authored by: coletdjnz
* [jsinterp] Do not compile regexpukkandan2023-05-241-1/+3
|
* Update to ytdl-commit-d1c6c5pukkandan2023-05-242-6/+58
| | | | | | | | | | | [YouTube] [core] Improve platform debug log, based on yt-dlp https://github.com/ytdl-org/youtube-dl/commit/d1c6c5c4d618fa950813c0c71aede34a5ac851e9 Except: * 6ed34338285f722d0da312ce0af3a15a077a3e2a [jsinterp] Add short-cut evaluation for common expression * There was no performance improvement when tested with https://github.com/ytdl-org/youtube-dl/issues/30641 * e8de54bce50f6f77a4d7e8e80675f7003d5bf630 [core] Handle `/../` sequences in HTTP URLs * We plan to implement this differently
* [cleanup] Miscpukkandan2023-05-203-367/+207
| | | | Closes #7030, closes #6967
* [jsinterp] Handle `NaN` in bitwise operatorspukkandan2023-05-202-0/+14
| | | | Closes #6131
* [utils] `traverse_obj`: More fixes (#6959)Simon Sawicki2023-04-301-2/+19
| | | | | | | | - Fix result when branching with `traverse_string` - Fix `slice` path on `dict`s - Fix tests and docstrings from 21b5ec86c2c37d10c5bb97edd7051d3aac16bb3e - Add `is_iterable_like` helper function Authored by: Grub4K
* [jsinterp] Handle negative numbers betterpukkandan2023-04-272-0/+20
| | | | Closes #6131
* [utils] `traverse_obj`: Allow iterables in traversal (#6902)Simon Sawicki2023-04-241-0/+4
| | | Authored by: Grub4K
* [outtmpl] Support `str.format` syntax inside replacementspukkandan2023-04-241-1/+4
| | | | Closes #6843
* [outtmpl] Allow `\n` in replacements and default.pukkandan2023-04-241-0/+1
| | | | | Fixes: https://github.com/yt-dlp/yt-dlp/issues/6808#issuecomment-1510055357 Fixes: https://github.com/yt-dlp/yt-dlp/issues/6808#issuecomment-1510363645
* [utils] `js_to_json`: Implement template strings (#6623)Simon Sawicki2023-03-251-0/+7
| | | Authored by: Grub4K
* [extractor] Extract more metadata from ISMpukkandan2023-03-251-80/+36
| | | | Fixes https://github.com/yt-dlp/yt-dlp/commit/81b6102d2099eec78a2db9ae3d101a8503dd4f25#r105892531
* [jsinterp] Handle `Date` at epoch 0pukkandan2023-03-031-0/+4
| | | | Closes #6400
* [dependencies] Simplify `Cryptodome`pukkandan2023-02-281-2/+2
| | | | Closes #6292, closes #6272, closes #6338
* Update to ytdl-commit-2dd6c6epukkandan2023-02-172-7/+14
| | | | | | | | | | [YouTube] Avoid crash if uploader_id extraction fails https://github.com/ytdl-org/youtube-dl/commit/2dd6c6edd8e0fc5e45865b8e6d865e35147de772 Except: * 295736c9cba714fb5de7d1c3dd31d86e50091cf8 [jsinterp] Improve parsing * 384f632e8a9b61e864a26678d85b2b39933b9bae [ITV] Overhaul ITV extractor * 33db85c571304bbd6863e3407ad8d08764c9e53b [feat]: Add support to external downloader aria2p
* [utils] `traverse_obj`: Fix more bugsSimon Sawicki2023-02-101-27/+48
| | | | | | and cleanup uses of `default=[]` Continued from b1bde57bef878478e3503ab07190fd207914ade9
* [utils] `traverse_obj`: Fix several behavioral problemsSimon Sawicki2023-02-081-16/+27
| | | | | See #6180 for further info Authored by: Grub4K
* [dependencies] Standardize `Cryptodome` importspukkandan2023-02-082-3/+6
|
* [utils] `traverse_obj`: Various improvementsSimon Sawicki2023-02-021-0/+40
| | | | | | | | - Add `set` key for transformations/filters - Add `re.Match` group names - Fix behavior for `expected_type` with `dict` key - Raise for filter function signature mismatch in debug Authored by: Grub4K
* [jsinterp] Support `if` statementspukkandan2023-02-012-0/+36
| | | | Closes #6131
* Fix config locations (#5933)Simon Sawicki2023-01-071-0/+227
| | | | | | Bug in 8e40b9d1ec132ae1bcac50b3ee520ece46ac9c55 Closes #5953 Authored by: Grub4k, coletdjnz, pukkandan
* Improve plugin architecture (#5553)Matthew2023-01-017-0/+114
| | | | | | | | | | | | | | | | | 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>
* Add `weba` to known extensionspukkandan2022-12-301-0/+2
|
* [utils] js_to_json: Fix bug in f55523c (#5771)ChillingPepper2022-12-301-0/+79
| | | Authored by: ChillingPepper, pukkandan
* [extractor] Deprecate `_sort_formats`pukkandan2022-11-172-33/+20
|
* [cleanup] Miscpukkandan2022-11-161-1/+2
| | | | Closes #5541
* [cleanup] MiscRobert Geislinger2022-11-111-8/+5
| | | | | | Closes #5471, Closes #5312 Authored by: pukkandan, Alienmaster
* [test] Allow `extract_flat` in download testspukkandan2022-11-102-3/+10
| | | | Authored by: coletdjnz, pukkandan
* [extractor/youtube:tab] Update tab handling for redesign (#5439)Matthew2022-11-091-0/+13
| | | | Closes #5432, #5430, #5419 Authored by: coletdjnz, pukkandan
* [cleanup] Lint and misc cleanuppukkandan2022-11-071-2/+2
|
* Update to ytdl-commit-de39d128pukkandan2022-11-071-3/+1
| | | | | | | [extractor/ceskatelevize] Back-port extractor from yt-dlp https://github.com/ytdl-org/youtube-dl/commit/de39d1281cea499cb1adfce5ff7e0a56f1bad5fe Closes #5361, Closes #4634, Closes #5210
* [extractor/zenyandex] Fix extractors (#3750, #5268)Alex Karabanov2022-10-251-1/+2
| | | | | | Closes #3736 Authored by: lksj, puc9, pukkandan Co-authored-by: puc9 <51006296+puc9@users.noreply.github.com>
* [SponsorBlock] Support `chapter` category (#5260)Ajay Ramachandran2022-10-181-8/+26
| | | Authored by: ajayyy, pukkandan
* [utils] `js_to_json`: Improve escape handling (#5217)Simon Sawicki2022-10-131-0/+6
| | | Authored by: Grub4K
* [cookies] Improve `LenientSimpleCookie` (#5195)Simon Sawicki2022-10-111-0/+15
| | | | Closes #5186 Authored by: Grub4K
* [jsinterp] Improve separating regexpukkandan2022-10-112-0/+9
| | | | Fixes https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1273974909
* [extractor/wordpress:mb.miniAudioPlayer] Add embed extractor (#5087)Matthew2022-10-091-0/+3
| | | | | Closes https://github.com/yt-dlp/yt-dlp/issues/4994 Authored by: coletdjnz
* [utils] `traverse_obj`: Allow `re.Match` objects (#5174)Simon Sawicki2022-10-091-0/+20
| | | Authored by: Grub4K
* [utils] `traverse_obj`: Always return list when branching (#5170)Simon Sawicki2022-10-091-4/+23
| | | | Fixes #5162 Authored by: Grub4K
* [downloader/ism] Support ec-3 codec (#5004)nixxo2022-09-302-0/+287
| | | | Closes #296 Authored by: nixxo
* [utils] `traverse_obj`: Rewrite, document and add tests (#5024)Simon Sawicki2022-09-261-0/+187
| | | Authored by: Grub4K
* [cookies] Parse cookies leniently (#4780)Simon Sawicki2022-09-161-0/+146
| | | | | Closes #4776, #3778 Authored by: Grub4K
* [utils] `base_url`: URL paths can contain `&` (#4841)Elyse2022-09-041-0/+1
| | | | Authored by: elyse0 Closes #4187