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

Adding a tool name to UserAgent #11

Closed
Ghost-chu opened this issue Jun 8, 2024 · 6 comments
Closed

Adding a tool name to UserAgent #11

Ghost-chu opened this issue Jun 8, 2024 · 6 comments

Comments

@Ghost-chu
Copy link

Add the program name to the User-Agent to allow archive.org to recognize it.

@bitdruid
Copy link
Owner

bitdruid commented Jun 8, 2024

Add the program name to the User-Agent to allow archive.org to recognize it.

how would you rewrite the user-agent in this case?

@Ghost-chu
Copy link
Author

Add the program name to the User-Agent to allow archive.org to recognize it.

how would you rewrite the user-agent in this case?

I would like to use bitdruid/python-wayback-machine-downloader (1.1.0), maybe the user can change it too.

Using a browser UA doesn't seem to be a good option, it might confuse archive.org.

@Ghost-chu
Copy link
Author

Ghost-chu commented Jun 8, 2024

Even though it's not very standard, it seems to suffice:

more standard but looks a little bit weird:

bitdruid-python-wayback-machine-downloader/1.1.0

@bitdruid
Copy link
Owner

bitdruid commented Jun 8, 2024

Even though it's not very standard, it seems to suffice:

more standard but looks a little bit weird:

bitdruid-python-wayback-machine-downloader/1.1.0

sounds okay to me. but do you have any sources for this approach? like if other tools doing so

@Ghost-chu
Copy link
Author

Even though it's not very standard, it seems to suffice:
more standard but looks a little bit weird:
bitdruid-python-wayback-machine-downloader/1.1.0

sounds okay to me. but do you have any sources for this approach? like if other tools doing so

Without a specific source, UA usually consists of ProgramName/Version (Comment), but I'm not sure what the real name of this Program is, so I went with username-repository/version

@bitdruid
Copy link
Owner

bitdruid commented Jun 8, 2024

fixed with release :)

@bitdruid bitdruid closed this as completed Jun 8, 2024
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

No branches or pull requests

2 participants