Commit Graph

453 Commits (aa837ddf064e47c7055b5752ecaba33f9bea90fd)

Author SHA1 Message Date
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
4 years ago
pukkandan e3b771a898 fix typos :ci skip dl 4 years ago
pukkandan cac96421d9 New option --no-write-playlist-metafiles to NOT write playlist metadata files 4 years ago
pukkandan 7c245ce877 [metadatafromtitle] Fix bug when extracting data from numeric fields
:ci skip dl
4 years ago
pukkandan eabce90175 [version] update
:ci skip dl
4 years ago
pukkandan 29b6000e35 Release 2021.01.29 4 years ago
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
4 years ago
pukkandan caa15a7b57 [Audius] Add extractor (Closes #40)
Related: https://github.com/ytdl-org/youtube-dl/pull/27360
Related: https://github.com/ytdl-org/youtube-dl/issues/24216

Direct API URLs are not currently supported. See https://github.com/ytdl-org/youtube-dl/pull/27360#issuecomment-757123708 for details

Co-authored by: qulas
4 years ago
pukkandan 105b0b700e Populate "playlist_*" fields for setting playlist metadata filename
Related: #36
4 years ago
pukkandan 66c935fb16 Linter and misc cleanup
:ci skip dl
4 years ago
pukkandan 64c0d954e5 [youtube] Extract playlist description 4 years ago
pukkandan bf330f5f29 [anvato] Workaround for anvato_token_generator import failing (Closes #35)
:ci skip dl
4 years ago
pukkandan f6d7624f57 Partial solution for detecting existing files correctly even when extracting audio
* Does not work when audio format is 'best'
4 years ago
pukkandan ece8a2a1b6 [embedthumbnail] Fix for missing output filename for ffmpeg call (Closes #38) 4 years ago
Bepis 8d0ea5f955 [Youtube] Improve comment API requests
co-authored by bbepis
4 years ago
pukkandan 0748b3317b Seperate import of lazy_extractors from that of normal extractors
This prevents "ModuleNotFoundError: No module named 'youtube_dl.extractor.lazy_extractors'" from appearing in the traceback

Related: https://github.com/animelover1984/youtube-dl/issues/17#issuecomment-757945024
4 years ago
pukkandan 6b591b2925 Detect existing files correctly even when there is remux/recode
:ci skip dl
4 years ago
pukkandan 179122495b [ffmpeg] Document more formats that are supported for remux/recode 4 years ago
pukkandan 02fd60d305 Write playlist description to file (Closes #36)
:ci skip dl
4 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
4 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
4 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
4 years ago
pukkandan 9882064024 [movefiles] Don't give "cant find" warning when move is unnecessary 4 years ago
pukkandan 2d6921210d [postprocessor] fix write_debug when no _downloader 4 years ago
pukkandan f137c99e9f Fix some fields not sorting correctly
bug introduced by: 63be1aab2f
4 years ago
pukkandan 6b8eb0c024 Report error message from youtube as error (Closes #33)
:ci skip dl
4 years ago
pukkandan b5d265633d Fix wrong user config (Closes #32)
:ci skip dl
4 years ago
pukkandan a392adf56c [version] update
:ci skip dl
4 years ago
pukkandan 0bc0a32290 Release 2021.01.24 4 years ago
Remita Amine a820dc722e Update to ytdl-2021.01.24.1 4 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
4 years ago
pukkandan c571435f9c [MoveFiles] More robust way to get final filename
:ci skip dl
4 years ago
pukkandan 10e3742eb1 Fix overwrite in --write-link
:ci skip dl
4 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
4 years ago
pukkandan b8f6bbe68a Warn when using old style (downloader/postprocessor)_args 4 years ago
pukkandan 256ed01025 [sponskrub] Print "unrecognized args" message correctly 4 years ago
pukkandan eab9b2bcaf Modified function `cli_configuration_args`
to directly parse new format of `postprocessor_args` and `external_downloader_args`
4 years ago
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`
4 years ago
pukkandan 45016689fa Standardized function for creating dict from repeated options 4 years ago
pukkandan 430c2757ea [cbs] Make failure to extract title non-fatal
:skip ci
4 years ago
The Hatsune Daishi ffcb819171
#30 [mildom] Add extractor
Authored by @nao20010128nao
4 years ago
pukkandan b46696bdc8 Revert d9eebbc747 4 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
4 years ago
pukkandan d0757229fa Fix typecasting when pre-checking archive (Closes #26) 4 years ago
pukkandan e2f6586c16 [version] update
:skip ci all
4 years ago
pukkandan e7ff505132 [pokemon] Add `/#/player` URLs (Closes #24) 4 years ago
pukkandan fbced7341d [sponskrub] Better debug output and error message 4 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
4 years ago
pukkandan 5c610515c9 [TrovoLive] Add extractor (partially fix #20)
Only VOD extractor has been implemented

Related: https://github.com/ytdl-org/youtube-dl/issues/26125
Related: https://github.com/blackjack4494/yt-dlc/issues/220
4 years ago
pukkandan 8a51f56439 [readme] Cleanup options
(Closes #23) :skip ci
4 years ago
pukkandan 67002a5ad8 [EmbedThumbnail] Simplify embedding in mkv (Closes #22) 4 years ago
pukkandan 477cf32f37 [sponskrub] Encode filenames correctly 4 years ago
pukkandan f57adf0e59 [version] update
:skip ci all
4 years ago
pukkandan 298f597b4f Release 2021.01.16 4 years ago
pukkandan e2e43aea21 Portable Configuration file (closes #19)
Inspired by https://github.com/ytdl-org/youtube-dl/pull/27592
4 years ago
pukkandan 30a074c2b6 Update to ytdl-2021.01.16 4 years ago
pukkandan ff0bc1aa4c [version] update
:skip ci all
4 years ago
pukkandan 17fa3ee25f Documentation fixes
* Change all links to point to new fork URL
* Changed sponskrub links to my fork of the same
* Other typos
4 years ago
pukkandan 2e8d2629f3 [tiktok] Fix for when share_info is empty
(Related: https://github.com/blackjack4494/yt-dlc/pull/20)
4 years ago
Felix Stupp b4d1044095 [roosterteeth] Changed API endpoint (Closes #16)
New endpoint allows to request metadata for bonus episodes

Authored by Zocker1999NET
4 years ago
pukkandan 44af9751a7 Print full error in verbose for sponskrub 4 years ago
pukkandan 806b05cf7a Fix write_debug in EmbedThumbnail
Closes #17
4 years ago
pukkandan d83cb5312c Fix archive bug introduced in 8b0d7497d5 4 years ago
pukkandan 8b0d7497d5 Added option `--break-on-reject`
and modified `--break-on-existing`
4 years ago
pukkandan 8c1fead3ce [version] update 4 years ago
pukkandan d9d045e2ef Changed repo name to yt-dlp 4 years ago
Samik Some dfd14aadfa [roosterteeth.com] Add subtitle support (https://github.com/ytdl-org/youtube-dl/pull/23985)
Closes #15

Authored by samiksome
4 years ago
alxnull 0c3d0f5177 Added `--force-overwrites` option (https://github.com/ytdl-org/youtube-dl/pull/20405)
Co-authored by alxnull
4 years ago
pukkandan f5546c0b3c Fix typos (Closes #14)
:skip ci all

Co-authored by: FelixFrog
4 years ago
pukkandan 5cc6ceb73b
#13 [adobepass] Added Philo MSO (https://github.com/ytdl-org/youtube-dl/pull/17821)
Authored-by: Aniruddh Joshi <aniruddh@ebincoweb.com>
4 years ago
pukkandan 6d07ec81d3 [version] update 4 years ago
pukkandan ba3c9477ee [Animelab] Added (https://github.com/ytdl-org/youtube-dl/pull/13600)
Authored by mariuszskon
4 years ago
pukkandan a3e26449cd [archive.org] Fix extractor and add support for audio and playlists (https://github.com/ytdl-org/youtube-dl/pull/27156)
Coauthored by wporr
4 years ago
pukkandan 7267acd1ed [youtube:search] fix view_count (https://github.com/ytdl-org/youtube-dl/pull/27588/)
Authored by ohnonot
4 years ago
pukkandan f446cc6667 Create `to_screen` and similar functions in postprocessor/common
`to_screen`, `report_warning`, `report_error`, `write_debug`, `get_param`

This is a first step in standardizing these function. This has to be done eventually for extractors and downloaders too
4 years ago
pukkandan 5ac2324460 [youtube] Show if video is embeddable in info
Closes https://github.com/ytdl-org/youtube-dl/issues/27730
4 years ago
pukkandan 4084f235eb [version] update 4 years ago
pukkandan 6fd35a1101 Release 2021.01.09 4 years ago
pukkandan f5b1bca913 Kill child processes when yt-dlc is killed (https://github.com/ytdl-org/youtube-dl/pull/26592)
Authored by: Unrud
4 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
4 years ago
pukkandan c3e6ffba53 Stop immediately when reaching '--max-downloads' (https://github.com/ytdl-org/youtube-dl/pull/26638)
Authored by: glenn-slayden
4 years ago
pukkandan 8c04f0be96 batch-file enumeration improvements (https://github.com/ytdl-org/youtube-dl/pull/26813)
Co-authored by: glenn-slayden
Modified from c9a9ccf8a3

These improvements apply to reading the list of URLs from the file supplied via the `--batch-file` (`-a`) command line option.

1. Skip blank and empty lines in the file. Currently, lines with leading whitespace are only skipped when that whitespace is followed by a comment character (`#`, `;`, or `]`). This means that empty lines and lines consisting only of whitespace are returned as (trimmed) empty strings in the list of URLs to process.

2. [bug fix] Detect and remove the Unicode BOM when the file descriptor is already decoding Unicode.

With Python 3, the `batch_fd` enumerator returns the lines of the file as Unicode. For UTF-8, this means that the raw BOM bytes from the file `\xef \xbb \xbf` show up converted into a single `\ufeff` character prefixed to the first enumerated text line.

This fix solves several buggy interactions between the presence of BOM, the skipping of comments and/or blank lines, and ensuring the list of URLs is consistently trimmed. For example, if the first line of the file is blank, the BOM is incorrectly returned as a URL standing alone. If the first line contains a URL, it will be prefixed with this unwanted single character--but note that its being there will have inhibited the proper trimming of any leading whitespace. Currently, the `UnicodeBOMIE` helper attempts to recover from some of these error cases, but this fix prevents the error from happening in the first place (at least on Python3). In any case, the `UnicodeBOMIE` approach is flawed, because it is clearly illogical for a BOM to appear in the (non-batch) URL(s) specified directly on the command line (and for that matter, on URLs *after the first line* of a batch list, also)

3. Adds proper trimming of the " #" into the read_batch_urls processing so that the URLs it enumerates are cleaned and trimmed more consistently.
4 years ago
Alex Merkel ab8e5e516f Add post_hooks option to YoutubeDL.py (https://github.com/ytdl-org/youtube-dl/pull/27573)
Authored by: alexmerkel
4 years ago
pukkandan 62d80ba17c [youtube] Fix bug (Closes https://github.com/pukkandan/yt-dlc/issues/10) 4 years ago
pukkandan e8273c86a3 [version] update 4 years ago
pukkandan 00dd0cd573 Update to ytdl-2021.01.08 4 years ago
pukkandan a26c99ac13 Release 2021.01.07-1 4 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"`
4 years ago
Jody Bruchon e0da59fe54 ffmpeg: ignore extra data streams with `-dn` (fixes #2)
Sometimes, video files will arrive with a timecode data stream
that causes `-map 0` to error out due to the stream not being
supported in the output container. These data streams generally do
not matter, so tell ffmpeg to ignore them rather than choking on
them.
4 years ago
pukkandan 9d88274ca2 Tiktok fix #8 (blackjack4494#20)
Authored by GreyAlien502
4 years ago
pukkandan 7dbce2c532 [vlive] add support for playlists #7 (blackjack4494#223)
Authored by kyuyeunk
4 years ago
pukkandan 2c35345868 Make sure playerOffsetMs is positive in youtube_live_chat by siikamiika #5 (blackjack4494#262)
Authored by siikamiika
4 years ago
pukkandan 3ad6c46175 Release 2021.01.07 4 years ago
pukkandan 19807826f7 Fix bug in default format selection 4 years ago
pukkandan c76eb41bb9 Preparing for release 4 years ago
pukkandan dbbbe555d7 Add `duration_string` to info_dict 4 years ago
pukkandan 7fd86ce1a9 Remove av01 priority 4 years ago
pukkandan 735d865ece Disable Updates 4 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
4 years ago
pukkandan 29f7c58aaf Update to ytdl-2021.01.03 4 years ago