pukkandan
fe7866d0ed
Add option `--use-extractors`
...
Deprecates `--force-generic-extractor`
Closes #3234 , Closes #2044
Related: #4307 , #1791
2022-08-24 07:47:51 +05:30
Lauren N. Liberda
fc61aff41b
Determine merge container better (See desc) ( #1482 )
...
* 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
2022-08-04 06:12:12 +05:30
pukkandan
0647d9251f
Minor bugfixes
2022-08-02 03:52:23 +05:30
pukkandan
4f04be6add
Validate `--merge-output-format`
...
Closes #4489
2022-07-31 02:20:14 +05:30
pukkandan
8dc5930511
[utils, cleanup] Consolidate known media extensions
2022-07-31 02:20:13 +05:30
pukkandan
6a7d3a0a09
[ffmpeg] Set `ffmpeg_location` in a contextvar
...
Fixes #2191 for the CLI, but not when used through the API
2022-07-31 02:20:12 +05:30
pukkandan
6929b41a21
Remove Python 3.6 support
...
Closes #3764
2022-07-18 06:31:14 +05:30
pukkandan
134c913cca
Discard info_dict from memory if no longer needed
...
Closes #1399
2022-07-11 02:14:23 +05:30
pukkandan
f2df407165
[cleanup] Misc cleanup
2022-07-09 09:07:10 +05:30
pukkandan
54007a45f1
[cleanup] Consistent style for file heads
2022-06-25 00:08:58 +05:30
pukkandan
ac66811112
[compat] Remove more functions
...
Removing any more will require changes to a large number of extractors
2022-06-25 00:08:55 +05:30
pukkandan
28163422a6
Fix `--downloader native`
...
Bug in 7b2c3f47c6
2022-06-22 19:14:36 +05:30
pukkandan
8372be7469
[update] Self-restart after update
2022-06-21 17:02:57 +05:30
pukkandan
6d1b34896e
Update to ytdl-commit-8a158a9
...
[NHK] Use new API URL
6508688e88
Closes #2337 , Closes #4063
2022-06-20 11:44:57 +05:30
pukkandan
7b2c3f47c6
[cleanup] Misc
2022-06-20 11:44:55 +05:30
pukkandan
7e9a612585
Add option `--lazy-playlist` to process entries as they are received
2022-06-17 14:20:40 +05:30
pukkandan
7e88d7d78f
Add slicing notation to `--playlist-items`
...
* 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
2022-06-17 10:36:52 +05:30
pukkandan
560738f34d
[extractor] Import `_ALL_CLASSES` lazily
...
This significantly speeds up `import yt_dlp` in the absence of `lazy_extractors`
2022-06-16 06:23:50 +05:30
pukkandan
5ec1b6b716
Add option `--download-sections` to download video partially
...
Closes #52 , Closes #3932
2022-06-07 02:41:55 +05:30
pukkandan
e0ab98541c
[ExtractAudio] Allow conditional conversion
...
Closes #1715
2022-06-06 21:51:28 +05:30
pukkandan
35faefee5d
[ExtractAudio, cleanup] Refactor
2022-06-06 21:49:57 +05:30
pukkandan
00bbc5f177
[ThumbnailsConvertor] Allow conditional conversion
...
Closes #3970
2022-06-05 20:51:19 +05:30
pukkandan
f95b9dee45
[extractor] Add dev option `--load-pages`
2022-06-01 02:03:22 +05:30
pukkandan
6b9e832db7
`--config-location -` to provide options interactively
2022-05-27 04:32:54 +05:30
pukkandan
c4a62b99f6
Fix bug in 23326151c4
2022-05-22 17:27:04 +05:30
pukkandan
c487cf0010
[cleanup] Misc
2022-05-21 16:01:53 +05:30
pukkandan
e79969b242
Return an error code if update fails
...
Closes #3802
2022-05-20 06:01:37 +05:30
pukkandan
23326151c4
Add option --retry-sleep ( #3059 )
...
Closes #2852
2022-05-19 20:00:31 +05:30
pukkandan
9e49146352
Add option `--alias`
2022-05-19 19:45:21 +05:30
pukkandan
21633673c3
[cleanup] Minor fixes
2022-05-18 09:04:30 +05:30
pukkandan
82d020804d
[extractor] Use classmethod/property where possible
...
and refactor lazy extractors accordingly.
This reduces the need to create extractor instances
2022-05-13 00:23:26 +05:30
pukkandan
8dcce6a89c
[extractor] Document netrc machines
...
Closes #3169
2022-05-11 22:10:15 +05:30
coletdev
bb58c9ed5c
Add support for SSL client certificate authentication ( #3435 )
...
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>
2022-05-02 07:59:45 +00:00
pukkandan
62f6f1cbf2
Don't imply `-s` for later stages of `-O`
2022-04-20 21:01:34 +05:30
pukkandan
19a0394044
[cleanup] Misc cleanup and refactor ( #2173 )
2022-04-18 02:28:28 +05:30
pukkandan
3d3bb1688b
[docs] Improve embedding docs and other minor fixes
2022-04-18 00:33:00 +05:30
pukkandan
f82711587c
[cleanup] Sort imports
...
Using https://github.com/PyCQA/isort
isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12 05:32:52 +05:30
pukkandan
86e5f3ed2e
[cleanup] Upgrade syntax
...
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 05:32:51 +05:30
felix
cfb0511d82
[cleanup] Remove unused code paths ( #2173 )
...
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 05:32:50 +05:30
pukkandan
a44ca5a470
[cleanup] Misc fixes
...
Closes https://github.com/yt-dlp/yt-dlp/pull/3213 , Closes https://github.com/yt-dlp/yt-dlp/pull/3117
Related: https://github.com/yt-dlp/yt-dlp/issues/3146#issuecomment-1077323114 , https://github.com/yt-dlp/yt-dlp/pull/3277#discussion_r841019671 , a825ffbffa (commitcomment-68538986)
, https://github.com/yt-dlp/yt-dlp/issues/2360 , 5fa3c9a88f (r70393519)
, 5fa3c9a88f (r70393254)
2022-04-05 18:12:18 +05:30
pukkandan
231025c463
Fix bug in 52efa4b312
...
Closes #3173
2022-03-24 07:28:10 +05:30
pukkandan
e880c92c65
Exit after `--dump-user-agent`
...
Bug in d1b5f70bc9
Closes #3055
2022-03-13 14:38:39 +05:30
pukkandan
da1d734fbe
Remove incorrect warning for `--dateafter`
...
Closes #3030
2022-03-11 19:29:44 +05:30
pukkandan
07ff290dce
Fix `--sleep-interval`
...
Bug in d1b5f70bc9
Closes #3012
2022-03-10 11:38:34 +05:30
pukkandan
51c22ef4e2
Fix `--throttled-rate`
...
Typo in d1b5f70bc9
Closes #2996
2022-03-10 03:29:01 +05:30
pukkandan
d1b5f70bc9
[cleanup] Refactor `__init__.py` ( #2570 )
...
* Split `__init__` code into multiple functions
* Clean up validation code by grouping similar types of options
* Expose `parse_options` to third parties
2022-03-08 12:03:31 -08:00
pukkandan
8b7539d27c
Implement `--add-header` without modifying `std_headers`
...
Closes #2526 , #1614
2022-03-04 20:59:03 +05:30
pukkandan
09b49e1f68
Add pre-processor stage `after_filter`
...
* 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 4ec82a72bb
since this commit addresses the issue it was solving
2022-02-23 04:26:48 +05:30
pukkandan
dbcea0585f
[outtmpl] Handle `-o ""` better
...
Since the specific type of file is not downloaded when giving `-o "<type>:"`,
now `-o ""` acts as an alias to `--skip-download`
2022-02-01 06:21:36 +05:30
pukkandan
bb66c24797
Add option `--print-to-file`
...
Closes #2372
2022-01-24 03:24:15 +05:30