Authored by: cffswb, danielyli Co-authored-by: Daniel Li <dan@danielyli.com> Co-authored-by: cffswb <karte577@gmail.com>
This commit is contained in:
parent
d8a58ddce7
commit
ebc7d3ff1f
3 changed files with 7 additions and 5 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -2,3 +2,5 @@
|
||||||
|
|
||||||
Makefile* text whitespace=-tab-in-indent
|
Makefile* text whitespace=-tab-in-indent
|
||||||
*.sh text eol=lf
|
*.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
|
# 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
|
* **[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
|
containers irrespective of quality
|
||||||
--no-prefer-free-formats Don't give any special preference to free
|
--no-prefer-free-formats Don't give any special preference to free
|
||||||
containers (default)
|
containers (default)
|
||||||
--check-formats Check that the selected formats are
|
--check-formats Make sure formats are selected only from
|
||||||
actually downloadable
|
those that are actually downloadable
|
||||||
--check-all-formats Check all formats for whether they are
|
--check-all-formats Check all formats for whether they are
|
||||||
actually downloadable
|
actually downloadable
|
||||||
--no-check-formats Do not check that the formats are actually
|
--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'])
|
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:
|
Here's a more complete example demonstrating various functionality:
|
||||||
|
|
||||||
|
|
|
@ -634,7 +634,7 @@ def create_parser():
|
||||||
video_format.add_option(
|
video_format.add_option(
|
||||||
'--check-formats',
|
'--check-formats',
|
||||||
action='store_const', const='selected', dest='check_formats', default=None,
|
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(
|
video_format.add_option(
|
||||||
'--check-all-formats',
|
'--check-all-formats',
|
||||||
action='store_true', dest='check_formats',
|
action='store_true', dest='check_formats',
|
||||||
|
|
Loading…
Reference in a new issue