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

handle_user_provided_file should set a User-Agent #103

Closed
rgaudin opened this issue May 25, 2023 · 0 comments · Fixed by #141
Closed

handle_user_provided_file should set a User-Agent #103

rgaudin opened this issue May 25, 2023 · 0 comments · Fixed by #141
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@rgaudin
Copy link
Member

rgaudin commented May 25, 2023

Although this function is not used for mass downloads but just to pick a couple files per scrape, because this is good practice, and because files hosted on Wikimedia servers require it, we should set a User-Agent for requests emited through it.

https://meta.wikimedia.org/wiki/User-Agent_policy

@rgaudin rgaudin added enhancement New feature or request good first issue Good for newcomers labels May 25, 2023
@benoit74 benoit74 added this to the 3.4.0 milestone Feb 27, 2024
@benoit74 benoit74 modified the milestones: 3.4.0, 3.3.1 Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants