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 metadata fetching for YouTube URLs #2069

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Conversation

puppe
Copy link

@puppe puppe commented Jan 30, 2024

YouTube responds with a redirect if it thinks that the user agent is too old. This commit changes the user agent string to that of a current version of Firefox. See also
#531 (comment).

YouTube responds with a redirect if it thinks that the user agent is too
old. This commit changes the user agent string to that of a current
version of Firefox. See also
shaarli#531 (comment).
@nodiscc nodiscc added bug it's broken! enhancement labels Jan 30, 2024
Copy link
Member

@nodiscc nodiscc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot

@nodiscc nodiscc merged commit 56ad5d2 into shaarli:master Mar 7, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug it's broken! enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants