New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yt-dlp: update page #12580
base: main
Are you sure you want to change the base?
yt-dlp: update page #12580
Conversation
@kbdharun please confirm |
@@ -8,11 +8,11 @@ | |||
|
|||
`yt-dlp "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` | |||
|
|||
- List the available downloadable formats for a video: | |||
- List all formats that a video or playlist is available in: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removes some clarity, unnecessary.
|
||
`yt-dlp --list-formats "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` | ||
|
||
- Download a video with a defined format, in this case the best mp4 video available (default is "bv\*+ba/b"): | ||
- Download a video or playlist at a specific quality: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has removed key information to the user, why?
|
||
- Download all playlists of YouTube channel/user keeping each playlist in separate directory: | ||
|
||
`yt-dlp -o "{{%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s}}" "{{https://www.youtube.com/user/TheLinuxFoundation/playlists}}"` | ||
`yt-dlp -o "{{%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s}}" "{{url}}"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this isn't the best of changes, how is the user to know that a playlist is needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree.
@thrila we try to be as clear as possible, and we use descriptive placeholder. I don't see any benefits on removing the example from the placeholder.
What about reverting this change?
|
||
- Download Udemy course keeping each chapter in separate directory under MyVideos directory in your home: | ||
|
||
`yt-dlp -u {{user}} -p {{password}} -P "{{~/MyVideos}}" -o "{{%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s}}" "{{https://www.udemy.com/java-tutorial}}"` | ||
`yt-dlp -u {{user}} -p {{password}} -P "{{~/MyVideos}}" -o "{{%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s}}" "{{url}}"` | ||
|
||
- Download entire series season keeping each series and each season in separate directory under C:/MyVideos: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This actually needs changing, its windows specific for a common
page
Thanks for the correction |
|
||
- Download entire series season keeping each series and each season in separate directory under C:/MyVideos: | ||
|
||
`yt-dlp -P "{{C:/MyVideos}}" -o "{{%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s.%(ext)s}}" "{{https://videomore.ru/kino_v_detalayah/5_sezon/367617}}"` | ||
`yt-dlp -P "{{C:/MyVideos}}" -o "{{%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s.%(ext)s}}" "{{url}}"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`yt-dlp -P "{{C:/MyVideos}}" -o "{{%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s.%(ext)s}}" "{{url}}"` | |
`yt-dlp -P "{{path/to/directory}}" -o "{{%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s.%(ext)s}}" "{{url}}"` |
Please see https://github.com/tldr-pages/tldr/blob/main/contributing-guides/style-guide.md#paths
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, this was marked as resolved without any commits being added.
Do not close comments from maintainers without discussing or doing the suggested change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
@@ -22,16 +22,16 @@ | |||
|
|||
- Specify audio format and audio quality of extracted audio (between 0 (best) and 10 (worst), default = 5): | |||
|
|||
`yt-dlp --extract-audio --audio-format {{mp3}} --audio-quality {{0}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` | |||
`yt-dlp --extract-audio --audio-format {{mp3}} --audio-quality {{0}} "{{url}}"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution. Can you update the same in other examples?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What other examples?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What other examples?
The placeholder examples for URL above.
You did not make any changes following my comments, and then proceeded to close them, saying they have been resolved. Please actually respond to them appropriately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not approve before actually reading and commenting on my original feedback.
my apologies started using github mobile seems im yet to fully understand it , still i thought the change you made was changing the placeholder url to the keyword url |
Do you plan on changing anything suggested, or should we close this PR? |
yeah lemme do it now kinda forgot |
Hi finished do you mind checking? |
That commit has nothing in it, did you not push your changes? |
Seems i didnt my bad haven't really contributed to a project before Thanks for the patience |
|
||
`yt-dlp --list-formats "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"` | ||
|
||
- Download a video with a defined format, in this case the best mp4 video available (default is "bv\*+ba/b"): | ||
- Download a video or playlist at a specific quality: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Download a video or playlist at a specific quality: | |
- Download a video or playlist using best MP4 video available (default is "bv\*+ba/b"): |
What about this? I agree with @CleanMachine1, your change removes key information for the user.
Any more corrections? |
I think you are making a mistake with adding the changes, could you share what commands you are running/what you are doing to make the suggested changes. |
I think he is just merging the branch instead of commit the changes. @thrila if you are on GitHub Mobile, you meed to click on the comments and then click om the "Commit" button. |
I am on mobile thanks for the tip |
I saw the last commits and it looks like it's the opposite, you replaced the example URLs with the generic placeholder text "url".
Well, the current state is replacing some examples URLs with the "url" placeholder. Anyways, you can see the changes that would be applied if thisnPR was merged clicking on the first bar below the PR description that has green and red numbers (the quantity of modified lines). Green = addition, red = removal.
Are you talking about #12580 (comment)? I don't know if @kbdharun thinks it is a good idea or if that was just a suggestion for improving the page consistency. In my opinion, in this case, example URLs are more user-friendly. |
Agreed, having example URLs seems much better. I wasn't clear in my previous review comment, what I meant is since one example was updated to the URL I suggested updating it throughout the page or reverting the link in the specific line (in this case, reverting seems like the best course of action). |
common
,linux
,osx
,windows
,sunos
,android
, etc.