aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests for 989a01c2610832193c268d072ada8814bfd4c00dpukkandan2022-08-052-14/+14
|
* Determine merge container better (See desc) (#1482)Lauren N. Liberda2022-08-041-0/+26
| | | | | | | | * Determine the container early. Closes #4069 * Use codecs instead of just file extensions * Obey `--prefer-free-formats` * Allow fallbacks in `--merge-output` Authored by: pukkandan, selfisekai
* Standardize retry mechanism (#1649)pukkandan2022-08-021-2/+2
| | | | | | | * [utils] Create `RetryManager` * Migrate all retries to use the manager * [extractor] Add wrapper methods for convenience * Standardize console messages for retries * Add `--retry-sleep` for extractors
* [extractor/html5] Separate into own extractor (#4307)pukkandan2022-08-021-2/+2
| | | | | | Closes #4291 Authored by: coletdjnz, pukkandan
* [extractor, test] Basic framework for embed tests (#4307)pukkandan2022-08-022-36/+41
| | | | | | and split download tests so they can be more easily run in CI Authored by: coletdjnz
* [extractor/rai] Add raisudtirol extractor (#4524)nixxo2022-08-021-0/+1
| | | | Closes #4206 Authored by: nixxo
* Remove Python 3.6 supportpukkandan2022-07-181-1/+2
| | | | Closes #3764
* Fix a904a7f8c6edc42046f0a78fb279739d500d4887pukkandan2022-07-151-14/+6
|
* Allow users to specify encoding in each config files (#4357)Lesmiscore2022-07-151-0/+28
| | | Authored by: Lesmiscore
* [aes] Add multiple padding modes in CBCElyse2022-07-121-0/+37
| | | | Authored by: elyse0
* [cleanup] Minor fixespukkandan2022-07-111-1/+1
|
* [cleanup] Misc cleanuppukkandan2022-07-091-0/+1
|
* [cleanup] Misc cleanuppukkandan2022-06-291-1/+5
|
* [compat] Remove deprecated functions from core codepukkandan2022-06-256-30/+26
|
* [cleanup] Consistent style for file headspukkandan2022-06-2527-25/+74
|
* [compat] Remove more functionspukkandan2022-06-259-75/+60
| | | | Removing any more will require changes to a large number of extractors
* [compat] Fix `compat.WINDOWS_VT_MODE`pukkandan2022-06-251-0/+3
|
* [test] Fix `FakeYDL` signaturespukkandan2022-06-214-13/+13
| | | | Authored by: coletdjnz
* Update to ytdl-commit-8a158a9pukkandan2022-06-202-35/+74
| | | | | | | [NHK] Use new API URL https://github.com/ytdl-org/youtube-dl/commit/6508688e88c83bb811653083db9351702cd39a6a Closes #2337, Closes #4063
* Add option `--lazy-playlist` to process entries as they are receivedpukkandan2022-06-171-1/+1
|
* Add slicing notation to `--playlist-items`pukkandan2022-06-171-32/+93
| | | | | | | | * Adds support for negative indices and step * Add `-I` as alias for `--playlist-index` * Deprecates `--playlist-start`, `--playlist-end`, `--playlist-reverse`, `--no-playlist-reverse` Closes #2951, Closes #2853
* [extractor/common] Recognize `src` attribute from HTML5 media elements (#3899)Lesmiscore2022-05-291-0/+18
| | | Authored by: Lesmiscore
* [cleanup] Misc cleanuppukkandan2022-05-171-1/+1
|
* [cleanup] Minor fixes (See desc)pukkandan2022-05-0910-23/+23
| | | | | | | | | | * [youtube] Fix `--youtube-skip-dash-manifest` * [build] Use `$()` in `Makefile`. Closes #3684 * Fix bug in 385ffb467b2285e85a2a5495b90314ba1f8e0700 * Fix bug in 43d7f5a5d0c77556156a3f8caa6976d3908a1e38 * [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode` * [utils] LazyList: Expose unnecessarily "protected" attributes and other minor cleanup
* Add support for SSL client certificate authentication (#3435)coletdev2022-05-0211-0/+139
| | | | | | | 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>
* Improve `--clean-infojson`pukkandan2022-04-281-1/+1
| | | | | It should not removes fields that may be needed for `--load-infojson`. Eg: `_ffmpeg_args`, `_has_drm`
* [compat] Ensure submodules are correctly wrappedpukkandan2022-04-261-0/+7
|
* [dependencies] Create module with all dependency importspukkandan2022-04-211-3/+3
|
* [compat] Split into sub-modules (#2173)felix2022-04-181-8/+0
| | | | Authored by: fstirlitz, pukkandan
* [cleanup] Misc cleanup and refactor (#2173)pukkandan2022-04-186-26/+35
|
* [test] Convert warnings into errorspukkandan2022-04-181-2/+3
| | | | | | * And fix some existing warnings Authored by: fstirlitz
* [cleanup] Misc cleanup (#2173)pukkandan2022-04-121-3/+2
| | | | Authored by: fstirlitz, pukkandan
* [cleanup] Sort importspukkandan2022-04-1229-139/+156
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-1228-185/+86
| | | | | | | | | | 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
* [cleanup] Mark some compat variables for removal (#2173)pukkandan2022-04-122-38/+3
| | | | Authored by fstirlitz, pukkandan
* [cleanup] Remove unused code paths (#2173)felix2022-04-124-31/+6
| | | | | | | | | | | | | | | | | | | 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
* [cleanup] Remove unused scripts/tests (#2173)felix2022-04-1220-409/+0
| | | | Authored by fstirlitz, pukkandan
* [test] Add `test_locked_file`pukkandan2022-04-071-0/+31
|
* [youtube:tab] Fix duration extraction for shorts (#3171)coletdev2022-03-281-0/+2
| | | | Related: https://github.com/TeamNewPipe/NewPipe/issues/8034 Authored-by: coletdjnz
* [outtmpl] Limit changes during sanitizationpukkandan2022-03-271-2/+4
| | | | Closes #2761
* [outtmpl] Fix replacement/default when used with alternatepukkandan2022-03-261-0/+2
|
* Ignore format-specific fields in initial pass of `--match-filter`pukkandan2022-03-252-10/+2
| | | | Closes #3074
* [utils] `format_decimal_suffix`: Fix for very large numbers (#3109)s0u1h2022-03-181-0/+1
| | | Authored by: s0u1h
* [extractor] Add `_perform_login` function (#2943)pukkandan2022-03-182-13/+9
| | | | * Adds new functions `_initialize_pre_login` and `_perform_login` as part of the extractor API * Adds `ie.supports_login` to the public API
* Add pre-processor stage `after_filter`pukkandan2022-02-231-18/+2
| | | | | | | * 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
* [youtube] Fix n-sig extraction for phone player JS (#2816)MinePlayersPE2022-02-181-0/+4
| | | Authored by: MinePlayersPE
* Release 2022.02.03pukkandan2022-02-031-1/+1
|
* Update to ytdl-commit-78ce962pukkandan2022-02-032-27/+12
| | | | | [youtube] Support channel search https://github.com/ytdl-org/youtube-dl/commit/78ce962f4fe020994c216dd2671546fbe58a5c67
* [youtube] Fix n-sig for player e06dea74pukkandan2022-02-011-0/+4
|
* [docs,cleanup] Fix linter and misc cleanuppukkandan2022-01-241-1/+1
| | | | Closes #2419