Skip to content
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

Need config for youtube search! #26202

Closed
hazzeee opened this issue Jul 31, 2020 · 1 comment
Closed

Need config for youtube search! #26202

hazzeee opened this issue Jul 31, 2020 · 1 comment
Labels

Comments

@hazzeee
Copy link

@hazzeee hazzeee commented Jul 31, 2020

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE

I need a youtube-dl config with which I will be able to search for videos by title, e.g. youtube-dl MY VIDEO TITLE, and when i run it it will download first video, can anyone give me that config?

@hazzeee hazzeee added the question label Jul 31, 2020
@remitamine
Copy link
Collaborator

@remitamine remitamine commented Aug 1, 2020

read https://github.com/ytdl-org/youtube-dl#configuration and these options may be helpful:

--default-search PREFIX          Use this prefix for unqualified URLs. For
                                 example "gvsearch2:" downloads two videos
                                 from google videos for youtube-dl "large
                                 apple". Use the value "auto" to let
                                 youtube-dl guess ("auto_warning" to emit a
                                 warning when guessing). "error" just throws
                                 an error. The default value "fixup_error"
                                 repairs broken URLs, but emits an error if
                                 this is not possible instead of searching.
--playlist-items ITEM_SPEC       Playlist video items to download. Specify
                                 indices of the videos in the playlist
                                 separated by commas like: "--playlist-items
                                 1,2,5,8" if you want to download videos
                                 indexed 1, 2, 5, 8 in the playlist. You can
                                 specify range: "--playlist-items
                                 1-3,7,10-13", it will download the videos
                                 at index 1, 2, 3, 7, 10, 11, 12 and 13.
@remitamine remitamine closed this Aug 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.