Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
How to create youtube-dl.conf in OS X? #8649
Comments
|
Depending on your installation method, a configuration file may or may not be present. You can simply create a file
|
|
Thanks! I just have one question. I saw the filepath you listed, but that’s an approxiamation. What’s the full filepath? Is it /HardDriveName/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/youtube-dl/files? http://rsync.macports.org/release/tarballs/ports/net/youtube-dl/files? When I searched for the youtube-dl folder, I found it in a MacPorts folder, which doesn’t seem right. I saw that you said to put it in ~/.config/youtube-dl.conf, but I can’t find the config folder.
|
|
|
|
Oh, okay. There is one other issue. I created a configuration file with TextEdit, but it won’t let me use the .conf extension. The only way I was able to get TextEdit to save the file was by naming it youtube-dl.conf.rtf. Is that going to be a problem? Or will I need to use a different text editor?
|
|
RTF is not a plain-text format. You will need to write plain text. Please refer to Apple's help page on the subject. |
|
Oh, okay. Thanks. I noticed that in the option your provided, you had an “s” after “(title)” and also after “ext”. Is the “s” a delineator?
|
|
I used the option you gave me, and now when I run youtube-dl, it creates a new subdirectory in my user folder. How do I fix this?
|
|
When I used the -o "/home/RedSoxFan04/Movies/%(title)s.%(ext)s”, substituting RedSoxFan for my Mac username and also adding an extra folder to the path, it didn’t work. I got this response from Terminal: |
|
The I thought you would want to create a subdirectory Can you post the output you get when you run |
|
|
|
It still gives me this: ERROR: u'cat' is not a valid URL. Set --default-search "ytsearch" (or run youtube-dl "ytsearch:cat" ) to search YouTube
|
|
@RedSoxFan04 Can you post a screenshot? Do you see the same behavior in a new terminal (To open a new terminal, type |
|
Here’s the screenshot:
|
|
Sorry, I can't see any screenshot in your message. You may need to use GitHub's web interface instead of sending emails. |
|
Hope I am right in posting this, and not off topic. Seems to me like the question I had and seen answered in mkdir -p ~/.config/youtube-dl/ This way you get the videos into Downloads. |
|
I think it don’t. But you maybe have to create the file first = have a look a the link to the original instructions, at Grahams answer and its referrals.
… On Dec 31, 2019, at 10:02, Carlos Bronze ***@***.***> wrote:
hi @leongeyer <https://github.com/leongeyer> zsh throws me an error when echoing: zsh: is a directory: /Users/bronze/.config/youtube-dl/config
does it not need a file extension?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#8649?email_source=notifications&email_token=ABOX27ZYBI5UZL7B37CWER3Q3NNHXA5CNFSM4B4ET5CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH4J75Q#issuecomment-569942006>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABOX277XAPQCA3JVGIM4DFDQ3NNHXANCNFSM4B4ET5CA>.
|
|
@leongeyer yea I took a look and saw I had created a directory there before using the command line. stupid. I deleted the comment soon after realizing it. Working fine now! |
|
Ah, that’s the reason I didn’t find it :)
Glad it worked out
Best greetings from Peru, have a nice year
A
… On Jan 1, 2020, at 11:37, Carlos Bronze ***@***.***> wrote:
@leongeyer <https://github.com/leongeyer> yea I took a look and saw I had created a directory there before using the command line. stupid. I deleted the comment soon after realizing it. Working fine now!
thx for taking the time!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#8649?email_source=notifications&email_token=ABOX27ZN5U4QPSK2I3FZ3FLQ3TBFPA5CNFSM4B4ET5CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH5IKEQ#issuecomment-570066194>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABOX275C5JUG62WBMQJ4ZNTQ3TBFPANCNFSM4B4ET5CA>.
|

I just installed youtube-dl on my Mac, and it’s a great program. I haven’t run into a single Youtube video that it couldn’t download. I also appreciate that it downloads the videos as MP4 files. However, it downloads the videos to my user folder instead of my movies folder. It also adds a series of numbers and letters the the video names. How do I fix this?
More importantly, I’ve read that the configuration file can be used to solve issues like this. However, I’m running into one big issue: there’s no youtube.conf file on my Mac. It seems like I have to make one myself. Do I just add the options I want, or is there more that needs to go into the configuration file?