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

Unable to DL using E-H #34

Open
ghost opened this issue Oct 30, 2019 · 9 comments
Open

Unable to DL using E-H #34

ghost opened this issue Oct 30, 2019 · 9 comments

Comments

@ghost
Copy link

ghost commented Oct 30, 2019

While Chaika and NH work fine E-H does not work for me

To Reproduce
Login using EHentai Login
Clicking download gallery using the Firefox extension gives the following in the log
[---INFO---]--2019-Oct-30 21:57:22-: Finished handling item
[---INFO---]--2019-Oct-30 21:57:22-: Failed to import item: BadZipFile("File is not a zip file",)
[---INFO---]--2019-Oct-30 21:57:21-: Waiting on post-processing from "exhentai"...
[---INFO---]--2019-Oct-30 21:57:15-: Downloading "2" requests for https://exhentai.org/g/1509162/87cf84cdae/
[---INFO---]--2019-Oct-30 21:57:15-: Received 2 requests from "exhentai"
[---INFO---]--2019-Oct-30 21:57:10-: Querying resources from "exhentai"...
[---INFO---]--2019-Oct-30 21:57:09-: Handling url https://exhentai.org/g/1509162/87cf84cdae/
[---INFO---]--2019-Oct-30 21:57:09-: Adding https://exhentai.org/g/1509162/87cf84cdae/

Expected behavior
To download from EH

Logs
error.log

Environment:
Windows 10
Firefox 72
HPX 0.12.3

@twiddli twiddli transferred this issue from happypandax/happypandax Oct 30, 2019
@twiddli
Copy link
Member

twiddli commented Oct 30, 2019

Hello,

  1. Do you have access to exhentai as per EHentai Login?
  2. Are you aware of EHentai Downloader only supporting downloads using credits/gp atm.?
  3. Do you have enough credits/gp?

@ghost
Copy link
Author

ghost commented Oct 31, 2019

1: Yes
2: Yes. I download using credits/gp normally
3: Yes.
image

@ghost
Copy link
Author

ghost commented Oct 31, 2019

It's a general problem present with all E-H galleries I've tried.
Taking https://exhentai.org/g/1509162/87cf84cdae/ for example gave me the log in the first post.

@twiddli
Copy link
Member

twiddli commented Nov 1, 2019

Can you try downloading in debug mode for the debug.log?
You can also provide the plugin.log inside the EHentai Downloader plugin folder.

@ghost
Copy link
Author

ghost commented Nov 1, 2019

@twiddli
Copy link
Member

twiddli commented Nov 1, 2019

Can you try download with the setting Delete lefover files when download fails set to false, then look into the folder cache/download for the file that was just downloaded and check if it's valid?

@ghost
Copy link
Author

ghost commented Nov 2, 2019

Nope, seems to be invalid.
For https://exhentai.org/g/1510351/81a60c00a8/, I got this NieR_ Yurimata.zip
debug.log
plugin.log

@twiddli
Copy link
Member

twiddli commented Nov 2, 2019

okay I think it might be a race condition, the file isn't getting prepared in time for the link to be available, maybe
i'll try and tweak things a little

@ghost
Copy link
Author

ghost commented Nov 5, 2019

Yes, I've noticed that. The download link takes around 10 seconds to be available for download but in HPX, the DL has already failed by then.

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

1 participant