Xwilarg / NHentaiDownloader

A browser extension to download doujinshi from NHentai
https://nhentaidownloader.zirk.eu/
MIT License
188 stars 17 forks source link

Extension doesn't recognize the page #62

Open Rainbobow opened 4 months ago

Rainbobow commented 4 months ago

Describe the bug When I open the extension on my browser on a //nhentai.net/g/xxxxxx page, a message appears "this extension must be used on a page containing doujinshi(s) in nhentai.net" and exits.

Browser Version: ToR (based on Mozilla Firefox) - version 13.0.10 (Firefox 115.8.0esr) - is the latest version. I use ToR because I can't access nhentai where I am and need to reroute the connection (hence I can't use another browser)

Console Output Not available on ToR nor Firefox. Repeated the error by launching the chrome extension in chrome with a blank page (which is the expected context for this error) and the error log is empty.

Thank you very much, your work is already huge and it's very kind to keep it up !

Rainbobow commented 4 months ago

Wow you're fast X)

I found the problem, I tried to start the extension from the comic's own page, not the search results. Now it works, although that would be a great idea to make the extension also be usable from the pages like "https://nhentai.net/g/xxxxxx/"

Thank you very much

Xwilarg commented 4 months ago

I have a hook that notify me on new issues :p

I'm glad you found a solution tho cause I wasn't sure how to debug that on Tor I'll still give it a try to see if I can manage to reproduce what doesn't work properly

Rainbobow commented 4 months ago

Well it can't download anyway, I think because your program tries to download the files on its own and not through the tor nodes (i believe, you know better than me), and goes through the network where nhentai is forbidden. I think I will try again later, but it will for sure not work with tor. Have a good day :)

Xwilarg commented 4 months ago

That might be it, I don't use Tor so I don't really know how it works

n2naokun commented 1 month ago

Google Chrome also shows (This extension must be used on a page containing doujinshi(s) in nhentai.net.) and has the same problem.

Google Chrome Version: 124.0.6367.156(Official Build) (64 bit)

FlippFlopper commented 1 month ago

Google Chrome also shows (This extension must be used on a page containing doujinshi(s) in nhentai.net.) and has the same problem.

Google Chrome Version: 124.0.6367.156(Official Build) (64 bit)

I'm having this same issue. Any solutions yet?

s5706820 commented 1 month ago

report that also found this issue on Microsoft Edge Version 125.0.2535.67 (Official build) (64-bit)

not urgent anyway iwas gatekeep by 403 anyway I cannot even get to site without Cloundflare DNS anyway, for me thr was thighly sealed, LOL