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

Gelbooru won't download all anymore #3315

Open
naruhina2016 opened this issue Nov 2, 2024 · 6 comments
Open

Gelbooru won't download all anymore #3315

naruhina2016 opened this issue Nov 2, 2024 · 6 comments
Labels

Comments

@naruhina2016
Copy link

afbeelding_2024-11-02_235139785

I have not been using the grabber for 3 weeks.
Now 3 weeks later it does not work the same anymore...:(
Even danbooru won't download all of it anymore...:(
Please help.
Thanks in Advacne.

---Naruhina---

@GameDevKitY
Copy link

same issue, have you found a fix?

@naruhina2016
Copy link
Author

No not yet

@yami-no-tusbas
Copy link
Contributor

Hi, first;

Never go above 20K images in a single task, i'll fail with gelbooru API. use id:< and id:> to select a part of the images you're trying to download.

And also, you may need your cloudfare cookies, and your username and api keys to use gelbooruAPI.

And we need to logs to help you, I see they are activated on your screen, so the log file should be into the grabber folder as "main_xxx.log".

@naruhina2016
Copy link
Author

naruhina2016 commented Nov 9, 2024

Weird danbooru never had that problem. Also how do get cloudfare cookie?

@GameDevKitY
Copy link

GameDevKitY commented Nov 9, 2024

I created a fix basically a python script you go to grabber and input page 1001 and find the last file go to the gelbooru url and copy the post id and then

x = 10187180
y = 150000
while x> 0:
z = x-y
x= z
print(z)
string = f"id:<{x} rating:e\n"
with open("output.txt", "a") as file:
file.write(string)

    replace x with the post id and then either using a  script or manually input the output into grabber

@GameDevKitY
Copy link

GameDevKitY commented Nov 9, 2024

Hi, first;

Never go above 20K images in a single task, i'll fail with gelbooru API. use id:< and id:> to select a part of the images you're trying to download.

And also, you may need your cloudfare cookies, and your username and api keys to use gelbooruAPI.

And we need to logs to help you, I see they are activated on your screen, so the log file should be into the grabber folder as "main_xxx.log".

yeah thats not the issue, what we were hitting is a gelbooru limit and by doing id:<x it fixes that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants