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

hypnohub not working after site changed #2631

Closed
Freako76 opened this issue May 28, 2022 · 5 comments
Closed

hypnohub not working after site changed #2631

Freako76 opened this issue May 28, 2022 · 5 comments

Comments

@Freako76
Copy link

hypnohub was working fine but after the site got updated gallery-dl can't download and keeps failing

https://hypnohub.net/index.php?page=post&s=list&tags=goodbadrobot
[gallery-dl][error] No suitable extractor found for 'https://hypnohub.net/index.php?page=post'
's' is not recognized as an internal or external command,
operable program or batch file.
'tags' is not recognized as an internal or external command,
operable program or batch file.

@aleksusklim
Copy link

Note that your last errors are caused by not using quotes (" for Windows, ' for Unix) around URL in command. Still, the extractor looks broken indeed, even for old-style urls:

gallery-dl "https://hypnohub.net/post?tags=gonoike_biwa"

[hypnohub][error] Unable to download data:  JSONDecodeError: [Errno Expecting value] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="//www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="canonical" href="https://hypnohub.net/index.php?page=post&s=list&tags=gonoike_biwa&pid=42" />
…

@afterdelight
Copy link

is htis fixed?

@mikf
Copy link
Owner

mikf commented May 30, 2022

Yep, this is fixed with commit ff5e10a.

Hypnohub now runs on Gelbooru Beta 0.2 instead of Moebooru for whatever reason.
As a workaround for v1.22.0 and older, you can prefix new URLs with gelbooru_v02::

$ gallery-dl "gelbooru_v02:https://hypnohub.net/index.php?page=post&s=list&tags=goodbadrobot"
/tmp/hypnohub.net/goodbadrobot/hypnohub…992_800af150edff5f292ec78225dba0c290.gif
/tmp/hypnohub.net/goodbadrobot/hypnohub…097_35c9f0f06b991e3dbf790356fe926506.png
...

@mikf mikf closed this as completed May 30, 2022
@afterdelight
Copy link

nice, thanks

@Freako76
Copy link
Author

thank u

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

5 participants
@mikf @aleksusklim @afterdelight @Freako76 and others