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 support for Danbooru + custom User-Agents #16

Merged
merged 4 commits into from
Jun 18, 2024
Merged

Conversation

Stridsvagn69420
Copy link
Owner

@Stridsvagn69420 Stridsvagn69420 commented Jun 18, 2024

Kind of felt like not making an issue for this. While it does not focus on sensitive content, it surely is known for it.

These are the changes I made:

  • added submodule for Danbooru itself (too easy because I found out it has a REST API)
  • fixed a missing newline when a given URL is not supported
  • enabled Serde support for the Url crate
  • removed unused code, e.g. struct Tag in Wallhaven

I also want to address issue #15 in this pull request, because this will ultimately become version 0.2.1 so it will close #15 too.

@Stridsvagn69420 Stridsvagn69420 changed the title Add support for Danbooru Add support for Danbooru + custom User-Agents Jun 18, 2024
@Stridsvagn69420
Copy link
Owner Author

See #15, I does not help and actually makes things worse for some websites. User-Agents are weird...

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.

[Feature] Allow custom User-Agents to bypass automation restrictions
1 participant