Commit Graph

638 Commits (50fed816dd5ae970d69d8997eb854d475ed91ede)

Author SHA1 Message Date
pukkandan 02aabd45d0
Release 2021.04.03
pukkandan 73cd218f5a
[documentation] Improve `--parse-metadata` documentation
pukkandan eff635394a
Ability to select nth best format
Eg: -f `bv*.2`

* Also cleaned up the related format selection code
pukkandan b050d210df
Fix some typos and linter
pukkandan a3affbe6a0
Release 2021.03.24
pukkandan 143db31d48
Parse metadata from multiple fields
Closes 
pukkandan a7f347d9c9
Release 2021.03.21
Matthew c224251aad
[youtube] Show if video is `private`, `unlisted` etc in new field `availability` ()
Closes: , https://github.com/ytdl-org/youtube-dl/issues/25631

Authored by: colethedj, pukkandan
pukkandan dd18a58cb1 [documentation] Add `SplitChapters` to `--ppa`
pukkandan a515a78dd3
fix some typos and linter
pukkandan e167860ce7
[documentation] Add deprecated options and aliases in readme
pukkandan 75d43ca080
Option to keep private keys in the infojson
Options: --clean-infojson, --no-clean-infojson

Related: https://github.com/yt-dlp/yt-dlp/issues/42#issuecomment-800778391
pukkandan 597c18665e
Release 2021.03.15
pukkandan 7275535116
Split video by chapters ()
* New options `--split-chapters` and `--no-split-chapters`
* The output/path of the split files can be given using the key `chapter`
* Additional keys `section_title`, `section_number`, `section_start`, `section_end` are available in the output template
* Alias `--split-tracks` for parity with animelover/youtube-dl
* `--sponskrub-cut` and `--split-chapter` cannot work together

Closes:
https://github.com/blackjack4494/yt-dlc/issues/277
https://github.com/ytdl-org/youtube-dl/issues/28438
https://github.com/ytdl-org/youtube-dl/issues/12907
https://github.com/ytdl-org/youtube-dl/issues/6480
https://github.com/ytdl-org/youtube-dl/pull/25005

Rewritten from the implementation by: femaref and Wattux
https://github.com/Wattux/youtube-dl/tree/split-at-timestamps
https://github.com/ytdl-org/youtube-dl/pull/25005
https://github.com/femaref/youtube-dl/tree/split-track
shirt 4cf1e5d2f9
Native concurrent downloading of fragments ()
* Option `--concurrent-fragments` (`-N`) to set the number of threads

Related: 

Known issues:
* When receiving Ctrl+C, the process will exit only after finishing the currently downloading fragments
* The download progress shows the speed of only one thread

Authored by shirt-dev
Ashish 5ba4a0b69c
[Documentation] Inclusion of two-line install script for Unix ()
Closes 
Authored-by: Ashish <ashish@pop-os.localdomain>

ci skip all
pukkandan 5f7514957f
Release 2021.03.03
pukkandan d6e51845b7
Reduce default of `--extractor-retries` to 3
so that even those not using sleep won't get 429'd on youtube
pukkandan 5ef7d9bdd8
Release 2021.03.01
pukkandan f0884c8b3f Cleanup some code (see desc)
* `--get-comments` doesn't imply `--write-info-json` if `-J`, `-j` or `--print-json` are used
* Don't pass `config_location` to `YoutubeDL` (it is unused)
* [bilibiliaudio] Recognize the file as audio-only
* Update gitignore
* Fix typos
pukkandan 277d6ff5f2
Extract comments only when needed (Closes )
pukkandan 1cf376f55a Add option `--sleep-requests` to sleep b/w requests (Closes )
* Also fix documentation of `sleep_interval_subtitles`

Related issues:
https://github.com/blackjack4494/yt-dlc/issues/158
https://github.com/blackjack4494/youtube-dlc/issues/195
https://github.com/ytdl-org/youtube-dl/pull/28270
https://github.com/ytdl-org/youtube-dl/pull/28144
https://github.com/ytdl-org/youtube-dl/issues/27767
https://github.com/ytdl-org/youtube-dl/issues/23638
https://github.com/ytdl-org/youtube-dl/issues/26287
https://github.com/ytdl-org/youtube-dl/issues/26319
pukkandan 7f7de7f94d Allow specifying path in `--external-downloader`
pukkandan 9bd2020476 [hls] Enable `--hls-use-mpegts` by default when downloading live-streams
* Also added option `--no-hls-use-mpegts` to disable this

Related: 
shirt-dev b965087396
Readthedocs improvements ()
Authored-by: shirtjs <2660574+shirtjs@users.noreply.github.com>

:ci skip dl
pukkandan 127d075955 [documentation] Fix typos (Closes )
:ci skip all
pukkandan c74d1aa340 Release 2021.02.24
pukkandan 0744a815b7 [documentation] Changes left behind from and
Pccode66 7a5c1cfe93
Completely change project name to yt-dlp ()
* All modules and binary names are changed
* All documentation references changed
* yt-dlp no longer loads youtube-dlc config files
* All URLs changed to point to organization account

Co-authored-by: Pccode66
Co-authored-by: pukkandan
pukkandan 5b1ecbb327 [ffmpeg] Allow passing custom arguments before -i
:ci skip dl
pukkandan e409895f13 [documentation] Fix documentation of "Extractor Options"
pukkandan 6cfda0582b [documentaion] Document `playable_in_embed`
:ci skip all
pukkandan f76ede8ee4 [youtube] Show if video was a live stream in info
pukkandan e094cec18c [documentation] Document `all` in format selection (Closes )
:ci skip all
pukkandan a40258a259 [documentation] Remove `--flat-videos`
It does not work as documented
It was an experimental option that I forgot to remove when making the fork public

:ci skip all
pukkandan dca3ff4a5e [formatsort] Remove forced priority of `quality`
When making `FormatSort`, I misinterpreted the purpose `quality`
pukkandan da9be05edf [documentation] Better document `--prefer-free-formats`
Also added `--no-prefer-free-formats`
pukkandan 155d2b48c5 [formatsort] Prefer vp9.2 over other vp9 codecs
vp9.2 may contain HDR while vp9.0 doesn't
pukkandan c2934512c2 Option `--windows-filenames` to force use of windows compatible filenames
* Also changed `--trim-file-name` to `--trim-filenames` to be similar to related options

Related: https://web.archive.org/web/20210217190806/https://old.reddit.com/r/youtubedl/comments/llc4o5/do_you_guys_also_have_this_error

:ci skip dl
pukkandan aa837ddf06 Release 2021.02.15
shirt-dev 63ad4d43eb
Allow downloading of unplayable video formats
Video postprocessors are also turned off when this option is used

Co-authored-by: shirtjs <2660574+shirtjs@users.noreply.github.com>
Co-authored-by: pukkandan <pukkandan@gmail.com>
shirt-dev 5d25607a3a
Change optional dependency from `Crypto` to `pycryptodome` (Closes )
Authored-by: shirtjs <2660574+shirtjs@users.noreply.github.com> (shirt-dev)

pycryptodome is an in-place replacement for Crypto and is more actively developed
pukkandan 8d801631cf [version] update
:ci skip all
pukkandan ba9f36d732 Release 2021.02.09
pukkandan b3943b2f33 [pyinst.py] Move back to root dir (Closes )
pukkandan 06ff212d64 [documentation] Crypto is an optional dependency
pukkandan c25228e5da Release 2021.02.04
pukkandan de6000d913 Multiple output templates for different file types
Syntax: -o common_template -o type:type_template
Types supported: subtitle|thumbnail|description|annotation|infojson|pl_description|pl_infojson
pukkandan ff88a05cff [pyinst] Automatically detect python architecture and working directory
:ci skip all
pukkandan e29663c644
Allow date/time formatting in output template
Closes 
pukkandan cac96421d9 New option --no-write-playlist-metafiles to NOT write playlist metadata files
pukkandan 29b6000e35 Release 2021.01.29
pukkandan e38df8f9fa Refactor `update-version`, `pyinst.py` and related files
* Refactor update-version
* Moved pyinst, update-version and icon into devscripts
* pyinst doesn't bump version anymore
* Merge pyinst and pyinst32. Usage: `pyinst.py [32|64]`
* Add mutagen as requirement
* Remove make_win and related files
pukkandan 06167fbbd3
Features from animelover1984/youtube-dl
* Add `--get-comments`
* [youtube] Extract comments
* [billibilli] Added BiliBiliSearchIE, BilibiliChannelIE
* [billibilli] Extract comments
* [billibilli] Better video extraction
* Write playlist data to infojson
* [FFmpegMetadata] Embed infojson inside the video
* [EmbedThumbnail] Try embedding in mp4 using ffprobe and `-disposition`
* [EmbedThumbnail] Treat mka like mkv and mov like mp4
* [EmbedThumbnail] Embed in ogg/opus
* [VideoRemuxer] Conditionally remux video
* [VideoRemuxer] Add `-movflags +faststart` when remuxing from mp4
* [ffmpeg] Print entire stderr in verbose when there is error
* [EmbedSubtitle] Warn when embedding ass in mp4
* [avanto] Use NFLTokenGenerator if possible
pukkandan 4ff5e98991 More badges
:ci skip all
pukkandan e4172ac903 Deprecate avconv/avprobe
All current functionality is left untouched. But don't expect any new features to work with avconv

:ci skip all
pukkandan 5bfa486205 Add option `--parse-metadata`
* The fields extracted by this can be used in `--output`
* Deprecated `--metadata-from-title`

:ci skip dl
pukkandan 0bc0a32290 Release 2021.01.24
Remita Amine a820dc722e Update to ytdl-2021.01.24.1
pukkandan f74980cbae Plugin support
Extractor plugins are loaded from <root-dir>/ytdlp_plugins/extractor/__init__.py

Inspired by https://github.com/un-def/dl-plus

:ci skip dl
pukkandan 0202b52a0c New option `-P`/`--paths` to give different paths for different types of files
Syntax: `-P "type:path" -P "type:path"`
Types: home, temp, description, annotation, subtitle, infojson, thumbnail
pukkandan 3bcaa37b1b [tests] Split core and download tests
pukkandan 46ee996e39 Allow passing different arguments to different external downloaders
* Now similar to --post-processor-args
* Also added `--downloader-args` as alias to `--external-downloader-args`
pukkandan 45016689fa Standardized function for creating dict from repeated options
pukkandan 63be1aab2f Deprecate unnecessary aliases in `formatSort`
(I should never have made so many aliases in the first-place)
The aliases remain functional for backward compatability, but will be left undocumented
pukkandan c69911e4c1 Release 2021.01.20
pukkandan 43820c0370 Improved passing of multiple postprocessor-args
* Added `PP+exe:args` syntax
    If `PP+exe:args` is specifically given, only it used.
    Otherwise, `PP:args` and `exe:args` are combined.
    If none of the `PP`, `exe` or `PP+exe` args are given, `default` is used
    `Default` is purposely left undocumented since it exists only for backward compatibility

* Also added proper handling of args in `EmbedThumbnail`

Related: https://github.com/ytdl-org/youtube-dl/pull/27723
pukkandan 8a51f56439 [readme] Cleanup options
(Closes ) :skip ci
pukkandan 298f597b4f Release 2021.01.16
pukkandan e2e43aea21 Portable Configuration file (closes )
Inspired by https://github.com/ytdl-org/youtube-dl/pull/27592
pukkandan 7bc877a20d Add PyPI release
pukkandan 17fa3ee25f Documentation fixes
* Change all links to point to new fork URL
* Changed sponskrub links to my fork of the same
* Other typos
pukkandan 8b0d7497d5 Added option `--break-on-reject`
and modified `--break-on-existing`
pukkandan 90505ff153 [readme] Change all links to point to new fork URL
pukkandan 9b45b9f51a Release 2021.01.12
pukkandan d9d045e2ef Changed repo name to yt-dlp
pukkandan f5546c0b3c Fix typos (Closes )
:skip ci all

Co-authored by: FelixFrog
pukkandan f20f5fe524 Add changelog for the unreleased changes in blackjack4494/yt-dlc
and made related changes in README
pukkandan b2f70ae74e Update version badge automatically in README
Uses: https://github.com/Schneegans/dynamic-badges-action
pukkandan 6fd35a1101 Release 2021.01.09
pukkandan e5bc03a6fa Release 2021.01.08
pukkandan 034b6215b4 Move changelog to seperate file
pukkandan 0c0ff18f7d [CI] Created quick-test
pukkandan a26c99ac13 Release 2021.01.07-1
pukkandan 1b77b347d4 Allow passing different arguments to different postprocessors
* Also deprecated --sponskrub-args

Closes: https://github.com/ytdl-org/youtube-dl/issues/27593
Eg: `--postprocessor-args "VideoConvertor:-c:v h264_nvenc -preset slow"`
Eg: `--postprocessor-args "SponsKrub:-include-selfpromo"`

For backward compatibility, `--postprocessor-args args` is equivalent to:
`--post-processor-args "sponskrub:" --post-processor-args "default:args"`
pukkandan c76eb41bb9 Preparing for release
pukkandan dbbbe555d7 Add `duration_string` to info_dict
pukkandan 7fd86ce1a9 Remove av01 priority
pukkandan 2af884ff22 v2021.01.05.02
pukkandan 91ebc64068 Change defaults
* Enabled --ignore by default
* Disabled --video-multistreams and --audio-multistreams by default
* Changed default format selection to 'bv*+ba/b' when --audio-multistreams is disabled
* Changed default format sort order to 'res,fps,codec,size,br,asr,proto,ext,has_audio,source,format_id'
* Changed default output template to '%(title)s [%(id)s].%(ext)s'
* Enabled `--list-formats-as-table` by default
pukkandan 50865ca803 v2021.01.05 - Make publicly available
pukkandan 29f7c58aaf Update to ytdl-2021.01.03
pukkandan c2b5f3114f Readme changes
pukkandan 6623ac349b Added negative switches for many existing options
* The idea is that it should be possible to negate any boolean option by adding a `no-` to the switch

New: `--no-ignore-dynamic-mpd`, `--no-allow-dynamic-mpd`, `--allow-dynamic-mpd`, `--youtube-include-hls-manifest`, `--no-youtube-include-hls-manifest`, `--no-youtube-skip-hls-manifest`, `--no-download`, `--no-download-archive`, `--resize-buffer`, `--part`, `--mtime`, `--no-keep-fragments`, `--no-cookies`, `--no-write-annotations`, `--no-write-info-json`, `--no-write-description`, `--no-write-thumbnail`, `--youtube-include-dash-manifest`, `--post-overwrites`, `--no-keep-video`, `--no-embed-subs`, `--no-embed-thumbnail`, `--no-add-metadata`, `--no-include-ads`, `--no-write-sub`, `--no-write-auto-sub`, `--no-playlist-reverse`, `--no-restrict-filenames`, `--youtube-include-dash-manifest`, `--no-format-sort-force`, `--flat-videos`, `--no-list-formats-as-table`, `--no-sponskrub`, `--no-sponskrub-cut`, `--no-sponskrub-force`

Renamed: `--write-subs`, --no-write-subs`, `--no-write-auto-subs, `--write-auto-subs`. Note that these can still be used without the ending "s"
pukkandan a9e7f54670 Sponskrub integration
pukkandan 76d321f68f Option to present -F output to a more tabular form
pukkandan 2d30509fc8 Add --force-download-archive by by h-h-h-h
Authored-by: h-h-h-h
pukkandan 732044afb2 Add --write-*-link by h-h-h-h
Authored-by: h-h-h-h
pukkandan f96bff99cb Relaxed validation for format filters so that any arbitrary field can be used
pukkandan 909d24dd6d Better Format Selection
* Added options: --video-multistreams, --no-video-multistreams, --audio-multistreams, --no-audio-multistreams
* New format selectors: best*, worst*, bestvideo*, bestaudio*, worstvideo*, worstaudio*
* Added b,w,v,a as alias for best, worst, video and audio respectively in format selection
* Changed video format sorting to show video only files and video+audio files together.