gallery-dl icon indicating copy to clipboard operation
gallery-dl copied to clipboard

[Exhentai] The owner changed how image limit works

Open a84r7a3rga76fg opened this issue 1 year ago • 2 comments

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?

a84r7a3rga76fg avatar Aug 26 '24 16:08 a84r7a3rga76fg

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.

https://github.com/mikf/gallery-dl/blob/4b286e80fd3f591b434f84a2ba415e5d22025f60/gallery_dl/extractor/exhentai.py#L434

mikf avatar Aug 27 '24 06:08 mikf

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.

a84r7a3rga76fg avatar Aug 27 '24 14:08 a84r7a3rga76fg

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

Hrxn avatar Aug 28 '24 16:08 Hrxn