aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2022-04-12[cleanup] Misc cleanup (#2173)pukkandan
Authored by: fstirlitz, pukkandan
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12[cleanup] Upgrade syntaxpukkandan
Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
2022-04-12[cleanup] Mark some compat variables for removal (#2173)pukkandan
Authored by fstirlitz, pukkandan
2022-04-12[cleanup] Remove unused code paths (#2173)felix
Notes: * `_windows_write_string`: Fixed in 3.6 * https://bugs.python.org/issue1602 * PEP: https://www.python.org/dev/peps/pep-0528 * Windows UTF-8 fix: Fixed in 3.3 * https://bugs.python.org/issue13216 * `__loader__`: is always present in 3.3+ * https://bugs.python.org/issue14646 * `workaround_optparse_bug9161`: Fixed in 2.7 * https://bugs.python.org/issue9161 Authored by: fstirlitz
2022-04-12[cleanup] Remove unused scripts/tests (#2173)felix
Authored by fstirlitz, pukkandan
2022-04-07[test] Add `test_locked_file`pukkandan
2022-03-28[youtube:tab] Fix duration extraction for shorts (#3171)coletdev
Related: https://github.com/TeamNewPipe/NewPipe/issues/8034 Authored-by: coletdjnz
2022-03-27[outtmpl] Limit changes during sanitizationpukkandan
Closes #2761
2022-03-26[outtmpl] Fix replacement/default when used with alternatepukkandan
2022-03-25Ignore format-specific fields in initial pass of `--match-filter`pukkandan
Closes #3074
2022-03-18[utils] `format_decimal_suffix`: Fix for very large numbers (#3109)s0u1h
Authored by: s0u1h
2022-03-18[extractor] Add `_perform_login` function (#2943)pukkandan
* Adds new functions `_initialize_pre_login` and `_perform_login` as part of the extractor API * Adds `ie.supports_login` to the public API
2022-02-23Add pre-processor stage `after_filter`pukkandan
* Move `_match_entry` and `post_extract` to `process_video_result`. It is also left in `process_info` for API compat * `--list-...` options and `--force-write-archive` now obey filtering options * Move `SponsorBlockPP` to `after_filter`. Closes https://github.com/yt-dlp/yt-dlp/issues/2536 * Reverts 4ec82a72bbf7ff0066edb50dcad20aa77ac2fe09 since this commit addresses the issue it was solving
2022-02-18[youtube] Fix n-sig extraction for phone player JS (#2816)MinePlayersPE
Authored by: MinePlayersPE
2022-02-03Release 2022.02.03pukkandan
2022-02-03Update to ytdl-commit-78ce962pukkandan
[youtube] Support channel search https://github.com/ytdl-org/youtube-dl/commit/78ce962f4fe020994c216dd2671546fbe58a5c67
2022-02-01[youtube] Fix n-sig for player e06dea74pukkandan
2022-01-24[docs,cleanup] Fix linter and misc cleanuppukkandan
Closes #2419
2022-01-21[cleanup] Minor fixespukkandan
Closes #2334
2022-01-19[Ted] Rewrite extractor (#2359)trasssh
Closes #2343 Authored by: pukkandan, trassshhub
2022-01-19[utils] Handle `ss:xxx` in `parse_duration`pukkandan
Closes #2388
2022-01-10[test] Fix TestVerboseOutputpukkandan
Closes #2269
2022-01-09[utils] Improve `get_elements_text_and_html_by_attribute` regex (#2280)Zenon Mousmoulas
Authored by: zmousm, pukkandan
2022-01-07[youtube] Update testspukkandan
2022-01-06[utils] Improve parsing for nested HTML elements (#2129)Zenon Mousmoulas
and add functions to return the HTML of elements Authored by: zmousm
2022-01-04[cleanup] Misc cleanuppukkandan
2022-01-04Allow multiple and nested configuration filespukkandan
2022-01-03Add key `requested_downloads` in the root `info_dict`pukkandan
2022-01-02[extractor] Extract chapters from JSON-LD (#2031)chris
Authored by: iw0nderhow, pukkandan
2022-01-02[extractor] Extract thumbnails from JSON-LD (#2195)nixxo
Authored by: nixxo
2022-01-01[KelbyOne] Add extractor (#2181)Ashish Gupta
Closes #2170 Authored by: Ashish0804
2021-12-30[outtmpl] Alternate form for `D` and fix suffix's casepukkandan
Fixes: https://github.com/yt-dlp/yt-dlp/issues/2085#issuecomment-1002247689, https://github.com/yt-dlp/yt-dlp/pull/2132/files#r775729811
2021-12-28[utils] Fix `format_bytes` output for Bytes (#2132)Pierre Mdawar
Authored by: pukkandan, mdawar
2021-12-27[cookies] Support other keyrings (#2032)Matt Broadway
Authored by: mbway
2021-12-25[utils] Improve `parse_count`pukkandan
2021-12-23[outtmpl] Change filename sanitization type to `S`pukkandan
`F` is already used for float! Bug in e0fd95737d1a3c4a2bfb470c5408a396c8545ca5
2021-12-23[cleanup] Misc cleanuppukkandan
Closes #1942 #1976 #2020 #2058 #1984
2021-12-23[outtmpl] Add alternate forms `F`, `D`pukkandan
and improve `id` detection F = sanitize as filename (# = restricted) D = add Decimal suffixes Closes #2085, 2081
2021-12-19[test/download] Split `sanitize_got_info_dict` into a separate functionpukkandan
so that it can be used by third party scripts
2021-12-18[outtmpl] Add operator `&` for replacement text (#2012)PilzAdam
Authored by: PilzAdam
2021-12-17[extractor] Support default implicit graph in JSON-LD (#1983)Zenon Mousmoulas
Original PR: https://github.com/ytdl-org/youtube-dl/pull/30229 Per W3C JSON-LD v1.1 ยง4.9 (non-normative ref): When a JSON-LD document's top-level structure is a map that contains no other keys than @graph and optionally @context (properties that are not mapped to an IRI or a keyword are ignored), @graph is considered to express the otherwise implicit default graph. Authored by: zmousm
2021-12-16[test/download] Ignore field `webpage_url_domain` (#2014)std-move
Authored by: std-move
2021-12-15[test/download] Add more fieldspukkandan
2021-12-09[SponsorBlock] Add Filler and Highlight categories (#1664)Nil Admirari
Authored by: nihil-admirari, pukkandan
2021-11-23[jsinterp] Fix splice to handle floatpukkandan
Needed for new youtube js player f1ca6900 Closes #1767
2021-11-20[utils] Fix error when copying `LazyList`pukkandan
2021-11-20[utils] Allow alignment in `render_table`pukkandan
and add tests
2021-11-19[AES] Add ECB mode (#1686)The Hatsune Daishi
Needed for #1688 Authored by: nao20010128nao
2021-11-19[tests] Fix testspukkandan