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

Add bad_link and image_sample autotags for H@H urls #5508

Open
hdk5 opened this issue Apr 29, 2023 · 0 comments · May be fixed by #5525
Open

Add bad_link and image_sample autotags for H@H urls #5508

hdk5 opened this issue Apr 29, 2023 · 0 comments · May be fixed by #5525
Labels
Source Support Upload/Source support

Comments

@hdk5
Copy link
Contributor

hdk5 commented Apr 29, 2023

e-hentai's H@H has at least two different direct image url formats:

https:\/\/[\w.]+\.hath\.network(?::\d+)?\/h\/(?<image_hash>\w+)-.+;xres=(?<sample_size>\d+|org)\/(?<file_name>.+)
(simply https://{...}.hath.network/h/{image_hash}-{...};xres={sample_size}/{file_name})
If sample_size is not org, the image is resampled

https:\/\/[\w.]+\.hath\.network(?::\d+)?\/om\/\d+\/(?<image_hash>\w+)-.+\/(?<sample_size>\d+)\/\w+\/(?<file_name>.+)
(simply https://{...}.hath.network/om/{...}/{image_hash}-{...}/{sample_size}/{...}/{filename})
If sample_size is not 0, the image is resampled

On a side note: original gallery (but not exact page) url can be found by image hash using https://exhentai.org/?f_shash=.

@nonamethanks nonamethanks added the Source Support Upload/Source support label May 2, 2023
@hdk5 hdk5 linked a pull request May 13, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source Support Upload/Source support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants