Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix freesound download #6147

Merged
merged 1 commit into from
Feb 3, 2023
Merged

Fix freesound download #6147

merged 1 commit into from
Feb 3, 2023

Conversation

rebane2001
Copy link
Contributor

IMPORTANT: PRs without the template will be CLOSED

Description of your pull request and other information

Freesound.org downloads are broken due to how the preview URLs sometimes appear in the HTML: <meta property="og:audio" content="https://freesound.orghttps://cdn.freesound.org/..." />.

This PR will fix the URL if necessary by removing the https://freesound.org part of the url when it seems like there is another one after it.

Fixes #6146

Template

Before submitting a pull request make sure you have:

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

  • I am the original author of this code and I am willing to release it under Unlicense
  • I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

@pukkandan pukkandan merged commit 9cfdbcb into yt-dlp:master Feb 3, 2023
@rebane2001 rebane2001 deleted the fix-freesound branch February 3, 2023 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Freesound] Downloads are broken
2 participants