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

Test URL is valid before sending to Hydrus #27

Open
reiuwu opened this issue Mar 6, 2023 · 1 comment
Open

Test URL is valid before sending to Hydrus #27

reiuwu opened this issue Mar 6, 2023 · 1 comment

Comments

@reiuwu
Copy link

reiuwu commented Mar 6, 2023

This isn't technically a bug, but sometimes SauceNAO will return a URL to a post that has been deleted, or replaced with a newer file. Is it possible for Hatate to test URLs for this before sending the URL to Hydrus?

@nostrenz
Copy link
Owner

nostrenz commented Mar 20, 2023

For deleted file there's already something in place but only for some sources (such as Danbooru or Pixiv). When sending to Hydrus, rows for deleted post are ignored (the rows turns orange in the list) as otherwise Hydrus's downloader would skip it. If you encounter a deleted post still being sent to Hydrus, I'll be iterested in the post's URL so I can implement it as well.

There is however nothing for files with a parent-child relationship, and I've also encountered some cases where IQDB/SauceNAO return the child post instead of the parent, which can be the same image but better. Maybe I could try doing something to compare those and determine which one is the best, but in doing that there's also a risk of selecting an image which might not exactly be the same as the input one.

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