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.
soundcloud:set URL with token incorrectly classified as soundcloud #10505
Comments
|
Carefully read new issue template and provide all requested information. |
|
Sorry, I cannot provide you the exact output/URL as the issue mainly occurs on private playlist URLs.
|
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.08.28. 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?
Description of your issue, suggested solution and other information
Soundcloud:set URLs of the form:
get incorrectly classified as "Soundcloud", as the _VALID_URL pattern in SoundcloudIE class matches this kind of URL, but it should not (only SoundcloudSetIE._VALID_URL should match this).
The issue only occurs on URLs with token part.
This does not happen all the time - I suspect the Python's hash seed determines the order of checking the URL patterns, so for a particular URL downloading may fail in about half of the runs of youtube-dl.
If it gets incorrectly classified as "Soundcloud", then the download fails with the message "Unable to download JSON metadata: HTTP Error 404".