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.
ytsearch* does not work with --cookies #11924
Comments
|
By the way, |
Most likely there are multiple versions on your machine |
|
Yes I fixed that and ensured I got the right version (from repository not system). Same error with |
|
The API used in youtube-dl (https://www.youtube.com/results?search_query=foobar&page=1&spf=navigate) does not work in browsers, either. I guess disabling cookies for this specific request will solve the problem. |
|
OK I've implemented the new search API in youtube-dl. ytsearch* will work with cookies in the next version. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.01.31. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
When I remove the
--cookiesargument,ytsearchand similar queries work. But I generally want to use cookies because of 2-factor authentication.