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

Add a User-Agent to cc-downloader #4

Open
pjox opened this issue Jan 31, 2025 · 0 comments
Open

Add a User-Agent to cc-downloader #4

pjox opened this issue Jan 31, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@pjox
Copy link
Member

pjox commented Jan 31, 2025

Right now the cc-downloader doesn't have a User-Agent defined. Doing this would allow Common Crawl to better track the usage of cc-downloader

Ideally, one would use the user-agent method from the reqwest library in order to set-up the User-Agent header for the cc-downloader client.

The User-Agent header should follow the RFC 9110 and ressemble the following example:

User-Agent: cc-downloader/0.5.1
@pjox pjox added the enhancement New feature or request label Jan 31, 2025
@pjox pjox self-assigned this Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant