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.
youtube-dl cookie problem #273
Comments
|
Hi George, sorry for the late answer, but here it goes: Like any other command, youtube-dl expects filenames to be relative to the current working directory or absolute. To clarify, if you're currently in the directory
By the way |
Hello
I am just a basic linux CL user.
I have been using youtube-dl for a long time, thank you guys for this great piece of script.
I have now tried to use youtube-dl with cookies.
I nee dto simulate a different country for youtube download. So far I have used other scripts to find complete URL and then I used wget with --header option to download it. It was cumbersome though. Then I found out youtube-dl allows using cookie file.
So I have this cookie file (cookie.txt) which has content: VISITOR_INFO1_LIVE=kVOjAYmlXSE
I run: youtube.dl --cookies cookie.txt http://www.youtube.com/videourl
but i get error "ERROR: unable to open cookie file"
I tried chmod 777 for cookie.txt, I tried putting a full path to the cookie.txt file, copying cookie.txt to /usr/bin
trying everything and I always get error unable to open cookie file.
What am I doing wrong?
Thank you,
George