rc file #401

Closed
opened 2026-02-20 23:03:01 -05:00 by deekerman · 3 comments
Owner

Originally created by @kickerofelves on GitHub (Nov 25, 2012).

When will youtube-dl support an .rc file? I could write a wrapper script but since the program has "matured" into an executable zip file and supporting .netrc why not proper support for a .rc? Makes no sense to pass the same options several times a day. Thanks.

Originally created by @kickerofelves on GitHub (Nov 25, 2012). When will youtube-dl support an .rc file? I could write a wrapper script but since the program has "matured" into an executable zip file and supporting .netrc why not proper support for a .rc? Makes no sense to pass the same options several times a day. Thanks.
Author
Owner

@fent commented on GitHub (Nov 25, 2012):

You could make an alias.

@fent commented on GitHub (Nov 25, 2012): You could make an alias.
Author
Owner

@phihag commented on GitHub (Nov 25, 2012):

youtube-dl has supported a user-wide configuration file for some time now; simply create a file ~/.config/youtube-dl.conf, and with content like

--extract-audio -t

It doesn't seem to be well-documented, but I'm unsure over where to include that information. Where have you looked?

@phihag commented on GitHub (Nov 25, 2012): youtube-dl has supported a user-wide configuration file for some time now; simply create a file `~/.config/youtube-dl.conf`, and with content like ``` --extract-audio -t ``` It doesn't seem to be well-documented, but I'm unsure over where to include that information. Where have you looked?
Author
Owner

@phihag commented on GitHub (Nov 26, 2012):

Documented now on http://rg3.github.com/youtube-dl/documentation.html .

@phihag commented on GitHub (Nov 26, 2012): Documented now on http://rg3.github.com/youtube-dl/documentation.html .
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#401
No description provided.