Commit Graph

80 Commits (e5813e53f089e018606435926ae0e109c4838394)

Author SHA1 Message Date
pukkandan e5813e53f0 Improve build/updater
* Fix `get_executable_path` in UNIX
* Update `x86.exe` correctly
* Exit immediately in windows once the update process starts so that the file handle is released correctly
* Show `exe`/`zip`/`source` and 32/64bit in verbose message
* Look for both `yt-dlp` and `youtube-dlc` in releases. This ensures that the updater will keep working when the binary name is changed to yt-dlp
* Disable pycryptodome in win_x86 since it causes `distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 10.0 is required`
3 years ago
pukkandan 1ea2412927 Minor bugfixes
* `__real_download` should be false when ffmpeg unavailable and no download
* Mistakes in #70
* `allow_playlist_files` was not correctly pass through
3 years ago
shirt-dev 63ad4d43eb
#70 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>
3 years ago
kurumigi fb198a8a9c
#49 [niconico] Improved extraction and support encrypted/SMILE movies
Co-authored-by: tsukumijima <tsukumijima@users.noreply.github.com>
Co-authored-by: tsukumi <39271166+tsukumijima@users.noreply.github.com>
Co-authored-by: Bepis <36346617+bbepis@users.noreply.github.com>
Co-authored-by: pukkandan <pukkandan@gmail.com>
3 years ago
pukkandan 6c4fd172de Add fallback for thumbnails
Workaround for: https://github.com/ytdl-org/youtube-dl/issues/28023
Related: https://github.com/ytdl-org/youtube-dl/pull/28031

Also fixes https://www.reddit.com/r/youtubedl/comments/lfslw1/youtubedlp_with_aria2c_for_dash_support_is/gmolt0r?context=3
3 years ago
pukkandan efabc16165 [postprocessor] Fix bug (Closes #62)
introduced by: 1bf540d28b

:ci skip dl
3 years ago
pukkandan 1bf540d28b [sponskrub] Don't raise error when the video does not exist
Eg: `--convert-sub srt --no-download --sponskrub` gave error before

:ci skip dl
3 years ago
pukkandan 0fd1a2b0bf [version] update (and linter) 3 years ago
pukkandan c25228e5da Release 2021.02.04 3 years ago
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
3 years ago
pukkandan e29663c644
#45 Allow date/time formatting in output template
Closes #43
3 years ago
pukkandan 18590cecdb Strip out internal fields such as `_filename` from infojson (Closes #42)
:ci skip dl
3 years ago
pukkandan e8be92f9d6 Fix "Default format spec" appearing in quiet mode 3 years ago
pukkandan b9d973bef1 Fix issue with overwriting files 3 years ago
pukkandan af819c216f [postprocessor] Raise errors correctly
Previously, when a postprocessor reported error, the download was still considered a success. This causes issues especially with critical PPs like Merger, MoveFiles etc

:ci skip dl
3 years ago
pukkandan cac96421d9 New option --no-write-playlist-metafiles to NOT write playlist metadata files 3 years ago
pukkandan 105b0b700e Populate "playlist_*" fields for setting playlist metadata filename
Related: #36
3 years ago
pukkandan 66c935fb16 Linter and misc cleanup
:ci skip dl
3 years ago
pukkandan 6b591b2925 Detect existing files correctly even when there is remux/recode
:ci skip dl
3 years ago
pukkandan 02fd60d305 Write playlist description to file (Closes #36)
:ci skip dl
3 years ago
pukkandan 06167fbbd3
#31 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
3 years ago
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
3 years ago
pukkandan 5bfa486205 Add option `--parse-metadata`
* The fields extracted by this can be used in `--output`
* Deprecated `--metadata-from-title`

:ci skip dl
3 years ago
Remita Amine a820dc722e Update to ytdl-2021.01.24.1 3 years ago
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
3 years ago
pukkandan c571435f9c [MoveFiles] More robust way to get final filename
:ci skip dl
3 years ago
pukkandan 10e3742eb1 Fix overwrite in --write-link
:ci skip dl
3 years ago
pukkandan 0202b52a0c #29 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
3 years ago
pukkandan b46696bdc8 Revert d9eebbc747 3 years ago
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
3 years ago
pukkandan d0757229fa Fix typecasting when pre-checking archive (Closes #26) 3 years ago
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
3 years ago
pukkandan 8a51f56439 [readme] Cleanup options
(Closes #23) :skip ci
3 years ago
pukkandan 30a074c2b6 Update to ytdl-2021.01.16 3 years ago
pukkandan d83cb5312c Fix archive bug introduced in 8b0d7497d5 3 years ago
pukkandan 8b0d7497d5 Added option `--break-on-reject`
and modified `--break-on-existing`
3 years ago
pukkandan d9d045e2ef Changed repo name to yt-dlp 3 years ago
alxnull 0c3d0f5177 Added `--force-overwrites` option (https://github.com/ytdl-org/youtube-dl/pull/20405)
Co-authored by alxnull
3 years ago
pukkandan f5546c0b3c Fix typos (Closes #14)
:skip ci all

Co-authored by: FelixFrog
3 years ago
pukkandan f5b1bca913 Kill child processes when yt-dlc is killed (https://github.com/ytdl-org/youtube-dl/pull/26592)
Authored by: Unrud
3 years ago
pukkandan d9eebbc747 Fix incorrect ANSI sequence for restoring console-window title (https://github.com/ytdl-org/youtube-dl/pull/26637)
Authored by: glenn-slayden
3 years ago
pukkandan c3e6ffba53 Stop immediately when reaching '--max-downloads' (https://github.com/ytdl-org/youtube-dl/pull/26638)
Authored by: glenn-slayden
3 years ago
Alex Merkel ab8e5e516f Add post_hooks option to YoutubeDL.py (https://github.com/ytdl-org/youtube-dl/pull/27573)
Authored by: alexmerkel
3 years ago
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"`
3 years ago
pukkandan 19807826f7 Fix bug in default format selection 3 years ago
pukkandan dbbbe555d7 Add `duration_string` to info_dict 3 years ago
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
3 years ago
pukkandan 29f7c58aaf Update to ytdl-2021.01.03 3 years ago
pukkandan a9e7f54670 Sponskrub integration 3 years ago
pukkandan 76d321f68f Option to present -F output to a more tabular form 3 years ago