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

[Exhentai] The owner changed how image limit works #6090

Closed
a84r7a3rga76fg opened this issue Aug 26, 2024 · 3 comments
Closed

[Exhentai] The owner changed how image limit works #6090

a84r7a3rga76fg opened this issue Aug 26, 2024 · 3 comments

Comments

@a84r7a3rga76fg
Copy link

a84r7a3rga76fg commented Aug 26, 2024

The program incorrectly reports that original files cannot be downloaded because it's currently peak hours when the image limit needs to be reset.

edit: can the program report what the current image limit is at?

@mikf
Copy link
Owner

mikf commented Aug 27, 2024

It reports whatever exhentai is complaining about.
There is no mention of "peak hours" in the actual code.

Maybe this is related to

People who do not have an account-based quota and spend the GP to "reset" it are now assigned a dedicated quota for 24 hours, set with a cookie-based token. Meaning that if you spend GP, the resulting quota can no longer be used by anyone else.


edit: can the program report what the current image limit is at?

it emits a debug logging message with image limit info when limits are enabled.

self.log.debug("Image Limits: %s/%s", current, self.limits)

@a84r7a3rga76fg
Copy link
Author

a84r7a3rga76fg commented Aug 27, 2024

I've an "account-based quota" and it warns me when I don't have GP and I'm downloading original files outside of peak hours that it's currently peak hours.

limits stopped working after the change. I've set it to 45000 and it never stops after reaching that number.

			"domain": "exhentai.org",
			"limits": 45000,
			"original": true,
			"retries": 0,
			"fallback-retries": -1,
			"timeout": 4.0,
			"wait-min": 0.0001,
			"wait-max": 0.0002,
			"sleep-request": 0,
			"skip": "terminate:3",
			"gp": "wait",
			"metadata": true

You are currently at 62,278 towards your account limit of 50,000.

@Hrxn
Copy link
Contributor

Hrxn commented Aug 28, 2024

Well, I think "actions" can be used here as a workaround.

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

No branches or pull requests

3 participants