diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-04-08 14:05:36 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-04-08 14:09:10 +0530 |
commit | ebc7d3ff1f39a2f71ab7360ce25a37da744c8f3e (patch) | |
tree | fe4057710a9f29b6a870c78b5f291582cfe1be6b | |
parent | d8a58ddce7a4aaf0d525041ab3b01eb2ab2d0a41 (diff) | |
download | hypervideo-pre-ebc7d3ff1f39a2f71ab7360ce25a37da744c8f3e.tar.lz hypervideo-pre-ebc7d3ff1f39a2f71ab7360ce25a37da744c8f3e.tar.xz hypervideo-pre-ebc7d3ff1f39a2f71ab7360ce25a37da744c8f3e.zip |
[docs] Minor improvements (#3309, #3343)
Authored by: cffswb, danielyli
Co-authored-by: Daniel Li <dan@danielyli.com>
Co-authored-by: cffswb <karte577@gmail.com>
-rw-r--r-- | .gitattributes | 2 | ||||
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | yt_dlp/options.py | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/.gitattributes b/.gitattributes index 58c855615..f3e1df5b5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,3 +2,5 @@ Makefile* text whitespace=-tab-in-indent *.sh text eol=lf +*.md diff=markdown +*.py diff=python @@ -70,7 +70,7 @@ yt-dlp is a [youtube-dl](https://github.com/ytdl-org/youtube-dl) fork based on t # NEW FEATURES -* Based on **youtube-dl 2021.12.17 [commit/6508688](https://github.com/ytdl-org/youtube-dl/commit/6508688e88c83bb811653083db9351702cd39a6a)** and **youtube-dlc 2020.11.11-3 [commit/f9401f2](https://github.com/blackjack4494/yt-dlc/commit/f9401f2a91987068139c5f757b12fc711d4c0cee)**: You get all the features and patches of [youtube-dlc](https://github.com/blackjack4494/yt-dlc) in addition to the latest [youtube-dl](https://github.com/ytdl-org/youtube-dl) +* Based on **youtube-dl 2021.12.17 [commit/6508688](https://github.com/ytdl-org/youtube-dl/commit/6508688e88c83bb811653083db9351702cd39a6a)** ([exceptions](https://github.com/yt-dlp/yt-dlp/issues/21)) and **youtube-dlc 2020.11.11-3 [commit/f9401f2](https://github.com/blackjack4494/yt-dlc/commit/f9401f2a91987068139c5f757b12fc711d4c0cee)**: You get all the features and patches of [youtube-dlc](https://github.com/blackjack4494/yt-dlc) in addition to the latest [youtube-dl](https://github.com/ytdl-org/youtube-dl) * **[SponsorBlock Integration](#sponsorblock-options)**: You can mark/remove sponsor sections in youtube videos by utilizing the [SponsorBlock](https://sponsor.ajay.app) API @@ -783,8 +783,8 @@ You can also fork the project on github and run your fork's [build workflow](.gi containers irrespective of quality --no-prefer-free-formats Don't give any special preference to free containers (default) - --check-formats Check that the selected formats are - actually downloadable + --check-formats Make sure formats are selected only from + those that are actually downloadable --check-all-formats Check all formats for whether they are actually downloadable --no-check-formats Do not check that the formats are actually @@ -1748,7 +1748,7 @@ with YoutubeDL(ydl_opts) as ydl: ydl.download(['https://www.youtube.com/watch?v=BaW_jenozKc']) ``` -Most likely, you'll want to use various options. For a list of options available, have a look at [`yt_dlp/YoutubeDL.py`](yt_dlp/YoutubeDL.py#L195). +Most likely, you'll want to use various options. For a list of options available, have a look at [`yt_dlp/YoutubeDL.py`](yt_dlp/YoutubeDL.py#L197). Here's a more complete example demonstrating various functionality: diff --git a/yt_dlp/options.py b/yt_dlp/options.py index 06c613262..67db6d067 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -634,7 +634,7 @@ def create_parser(): video_format.add_option( '--check-formats', action='store_const', const='selected', dest='check_formats', default=None, - help='Check that the selected formats are actually downloadable') + help='Make sure formats are selected only from those that are actually downloadable') video_format.add_option( '--check-all-formats', action='store_true', dest='check_formats', |