pukkandan
abbeeebc4c
[outtmpl] Alternate form for `D` and fix suffix's case
...
Fixes: https://github.com/yt-dlp/yt-dlp/issues/2085#issuecomment-1002247689 , https://github.com/yt-dlp/yt-dlp/pull/2132/files#r775729811
3 years ago
Pierre Mdawar
f02d24d8d2
[utils] Fix `format_bytes` output for Bytes ( #2132 )
...
Authored by: pukkandan, mdawar
3 years ago
Matt Broadway
f59f5ef8b6
[cookies] Support other keyrings ( #2032 )
...
Authored by: mbway
3 years ago
pukkandan
352d5da812
[utils] Improve `parse_count`
3 years ago
pukkandan
37893bb0c9
[outtmpl] Change filename sanitization type to `S`
...
`F` is already used for float!
Bug in e0fd95737d
3 years ago
pukkandan
b69fd25c25
[cleanup] Misc cleanup
...
Closes #1942 #1976 #2020 #2058 #1984
3 years ago
pukkandan
e0fd95737d
[outtmpl] Add alternate forms `F`, `D`
...
and improve `id` detection
F = sanitize as filename (# = restricted)
D = add Decimal suffixes
Closes #2085 , 2081
3 years ago
pukkandan
75ad33572b
[test/download] Split `sanitize_got_info_dict` into a separate function
...
so that it can be used by third party scripts
3 years ago
PilzAdam
e978789f0f
[outtmpl] Add operator `&` for replacement text ( #2012 )
...
Authored by: PilzAdam
3 years ago
Zenon Mousmoulas
d5c3254889
[extractor] Support default implicit graph in JSON-LD ( #1983 )
...
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
3 years ago
std-move
fed1309651
[test/download] Ignore field `webpage_url_domain` ( #2014 )
...
Authored by: std-move
3 years ago
pukkandan
ff9f925b63
[test/download] Add more fields
3 years ago
Nil Admirari
8157a09d22
[SponsorBlock] Add Filler and Highlight categories ( #1664 )
...
Authored by: nihil-admirari, pukkandan
3 years ago
pukkandan
57dbe8077f
[jsinterp] Fix splice to handle float
...
Needed for new youtube js player f1ca6900
Closes #1767
3 years ago
pukkandan
282f570918
[utils] Fix error when copying `LazyList`
3 years ago
pukkandan
c5e3f84972
[utils] Allow alignment in `render_table`
...
and add tests
3 years ago
The Hatsune Daishi
a04e005521
[AES] Add ECB mode ( #1686 )
...
Needed for #1688
Authored by: nao20010128nao
3 years ago
pukkandan
dd2a987d3f
[tests] Fix tests
3 years ago
pukkandan
9222c38182
[cleanup] Minor cleanup
...
Closes #1696 , Closes #1673
3 years ago
pukkandan
4476d2c764
[outtmpl] Add alternate forms for `q` and `j`
3 years ago
pukkandan
582fad70f5
[outtmpl] Do not traverse `None`
...
Closes #1585
3 years ago
pukkandan
a331949df3
[test/download] Fallback test to `bv`
3 years ago
pukkandan
a1fc7ca074
[jsinterp] Handle default in switch better
3 years ago
pukkandan
404f611f1c
[youtube] Fix throttling by decrypting n-sig ( #1437 )
3 years ago
Damiano Amatruda
17ec8bcfa9
[microsoftstream] Add extractor ( #1201 )
...
Based on: https://github.com/ytdl-org/youtube-dl/pull/24649
Fixes: https://github.com/ytdl-org/youtube-dl/issues/24440
Authored by: damianoamatruda, nixklai
3 years ago
pukkandan
aa7785f860
[utils] Standardize timestamp formatting code
...
Closes #1285
3 years ago
pukkandan
176f1866cb
Add HDR information to formats
3 years ago
pukkandan
17bddf3e95
Reduce default `--socket-timeout`
3 years ago
pukkandan
18f96d129b
[utils] Allow duration strings in filter
...
Closes #1309
3 years ago
pukkandan
b836dc94f2
[outtmpl] Fix bug in expanding environment variables
3 years ago
pukkandan
b5ae35ee6d
[cleanup] Misc cleanup
3 years ago
pukkandan
819e05319b
Improved progress reporting (See desc) ( #1125 )
...
* Separate `--console-title` and `--no-progress`
* Add option `--progress` to show progress-bar even in quiet mode
* Fix and refactor `minicurses`
* Use `minicurses` for all progress reporting
* Standardize use of terminal sequences and enable color support for windows 10
* Add option `--progress-template` to customize progress-bar and console-title
* Add postprocessor hooks and progress reporting
Closes : #906 , #901 , #1085 , #1170
3 years ago
pukkandan
e6f21b3d92
[docs,cleanup] Some minor refactoring and improve docs
3 years ago
pukkandan
91dd88b90f
[outtmpl] Alternate form of format type `l` for `\n` delimited list
3 years ago
pukkandan
524e2e4fda
[outtmpl] Format type `U` for unicode normalization
3 years ago
pukkandan
ff1c7fc9d3
Allow `0` in `--playlist-items`
3 years ago
pukkandan
1b629e1b4c
[test/cookies] Improve logging
3 years ago
Ákos Sülyi
09906f554d
[aes] Add `aes_gcm_decrypt_and_verify` ( #1020 )
...
Authored by: sulyi, pukkandan
3 years ago
Nil Admirari
c6af2dd8e5
[SponsorBlock] Improve merge algorithm ( #999 )
...
Authored by: nihil-admirari
3 years ago
pukkandan
7c37ff97d3
Allow alternate fields in outtmpl
...
Closes #899 , #1004
3 years ago
pukkandan
edf65256aa
[hls,aes] Fallback to native implementation for AES-CBC
...
and detect `Cryptodome` in addition to `Crypto`
Closes #935
Related: #938
3 years ago
pukkandan
f5aa5cfbff
Add format type `B` for outtmpl to treat the value as bytes
...
This is useful to limit the filename to a certain number of bytes rather than characters
Closes #1003
3 years ago
coletdjnz
a7e999beec
[pbs] Fix subtitle extraction ( #813 )
...
Original PR: https://github.com/ytdl-org/youtube-dl/pull/24430 , https://github.com/ytdl-org/youtube-dl/pull/17434
Closes : #836 , https://github.com/ytdl-org/youtube-dl/issues/18796 , https://github.com/ytdl-org/youtube-dl/issues/17273
Authored-by: coletdjnz, gesa, raphaeldore
3 years ago
Nil Admirari
7a340e0df3
Native SponsorBlock implementation and related improvements ( #360 )
...
SponsorBlock options:
* The fetched sponsor sections are written to infojson
* `--sponsorblock-remove` removes specified chapters from file
* `--sponsorblock-mark` marks the specified sponsor sections as chapters
* `--sponsorblock-chapter-title` to specify sponsor chapter template
* `--sponsorblock-api` to use a different API
Related improvements:
* Split `--embed-chapters` from `--embed-metadata`
* Add `--remove-chapters` to remove arbitrary chapters
* Add `--force-keyframes-at-cuts` for more accurate cuts when removing and splitting chapters
Deprecates all `--sponskrub` options
Authored by: nihil-admirari, pukkandan
3 years ago
animelover1984
abafce59a1
[Niconico] Add Search extractors ( #672 )
...
Authored by: animelover1984, pukkandan
3 years ago
coletdjnz
0bb1bc1b10
[youtube] Remove annotations and deprecate `--write-annotations` ( #765 )
...
Closes #692
Authored by: coletdjnz
3 years ago
pukkandan
4dfbf8696b
[utils] Add `parse_qs`
3 years ago
pukkandan
9e598870dd
Fix `playlist_index` not obeying `playlist_start`
...
and add tests
Closes #720
3 years ago
pukkandan
8f18aca871
Let `--match-filter` reject entries early
...
Makes redundant: `--match-title`, `--reject-title`, `--min-views`, `--max-views`
3 years ago
pukkandan
ad3dc496bb
Misc fixes - See desc
...
* Remove unnecessary uses of _list_from_options_callback
* Fix download tests - Bug from 6e84b21559
* Rename ExecAfterDownloadPP to ExecPP and refactor its tests
* Ensure _write_ytdl_file closes file handle on error - Potential fix for #517
3 years ago