Git Product home page Git Product logo

Comments (12)

MyNameIsPierre avatar MyNameIsPierre commented on August 30, 2024

No one ? :/

from nhentai.

RicterZ avatar RicterZ commented on August 30, 2024

from nhentai.

RicterZ avatar RicterZ commented on August 30, 2024

@BarneyGold

nhentai --cookie 'XXX'
nhentai --tag bukkake 

Worked fine according my test.

from nhentai.

RicterZ avatar RicterZ commented on August 30, 2024

pip install nhentai==0.3.2 to upgrade

from nhentai.

MyNameIsPierre avatar MyNameIsPierre commented on August 30, 2024

Hi,
Thanks for the answer. For some reason when trying to download via pip I have this error :

C:\WINDOWS\system32>pip install nhentai==0.3.2
Collecting nhentai==0.3.2
Using cached https://files.pythonhosted.org/packages/6b/68/02390efae3fb0252f5acaa990f91a01ee6065c23a4309fa77eb806ab160e/nhentai-0.3.2.tar.gz
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "", line 1, in
File "C:\Users\USER1\AppData\Local\Temp\pip-install-cg1ri1dw\nhentai\setup.py", line 26, in
long_description=long_description(),
File "C:\Users\USER
1\AppData\Local\Temp\pip-install-cg1ri1dw\nhentai\setup.py", line 15, in long_description
return str(f.read())
File "c:\users\USER\appdata\local\programs\python\python37-32\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 248: character maps to
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\USER~1\AppData\Local\Temp\pip-install-cg1ri1dw\nhentai\

I did a pip check and it works correctly. I searched for a bit but this error seems to come from many possible problems... Do you have any idea on how to fix it ? (I also tried in git bash and it does the same)

from nhentai.

RicterZ avatar RicterZ commented on August 30, 2024

._. what's your python version?

from nhentai.

MyNameIsPierre avatar MyNameIsPierre commented on August 30, 2024

python verison is 3.7.3 and pip verison is 19.1.1

from nhentai.

RicterZ avatar RicterZ commented on August 30, 2024

I released 0.3.4, using pip install nhentai -U to install

from nhentai.

MyNameIsPierre avatar MyNameIsPierre commented on August 30, 2024

It installed well, it works if I try your description examples but it still doesn't work with my custom command... i.e :

C:\WINDOWS\system32>nhentai --tag "big breasts" --output B:\ --download --max-page 250
[17:02:51] [INFO] nHentai ver 0.3.4: あなたも変態。 いいね?
_ _ _ _
_ __ | | | | ___ _ __ | |_ __ ()
| '_ | || |/ _ \ ' | / ` | |
| | | | _ | __/ | | | || (
| | |
|| ||| ||_
|| ||__,||

[17:02:51] [INFO] Using mirror: https://nhentai.net
[17:02:51] [DEBUG] Fetching page 1 for doujinshi with tag 'big-breasts'
[17:02:51] [DEBUG] Fetching page 2 for doujinshi with tag 'big-breasts'
[17:02:51] [DEBUG] Fetching page 3 for doujinshi with tag 'big-breasts'
[17:02:51] [DEBUG] Fetching page 4 for doujinshi with tag 'big-breasts'
[17:02:51] [DEBUG] Fetching page 5 for doujinshi with tag 'big-breasts'
[17:02:51] [DEBUG] Fetching page 6 for doujinshi with tag 'big-breasts'
[17:02:51] [ERROR] Cannot find doujinshi id of tag 'big-breasts'
[17:02:51] [INFO] All done.

And it doesn't download anything. I already logged my cookie and it saved without problems. Sorry to still bother but I don't have a clue about what causes this...

from nhentai.

RicterZ avatar RicterZ commented on August 30, 2024

Trying set your cookie first: nhentai --cookie 'YOUR NHENTAI COOKIE'.
You can obtain your cookie from Chrome network tab.

from nhentai.

MyNameIsPierre avatar MyNameIsPierre commented on August 30, 2024

Hi again, sorry for the late response.
I first entered the cookie using the --cookie command and it worked however it still gives me the same error as stated above, I even tried with other random tags :

C:\WINDOWS\system32>nhentai --tag shotacon --output B:\ --download --max-page 250
[16:02:09] [INFO] nHentai ver 0.3.4: あなたも変態。 いいね?
_ _ _ _
_ __ | | | | ___ _ __ | |_ __ ()
| '_ | || |/ _ \ ' | / ` | |
| | | | _ | __/ | | | || (
| | |
|| ||| ||_
|| ||__,||

[16:02:09] [INFO] Using mirror: https://nhentai.net
[16:02:09] [DEBUG] Fetching page 1 for doujinshi with tag 'shotacon'
[16:02:10] [DEBUG] Fetching page 2 for doujinshi with tag 'shotacon'
[16:02:10] [DEBUG] Fetching page 3 for doujinshi with tag 'shotacon'
[16:02:10] [DEBUG] Fetching page 4 for doujinshi with tag 'shotacon'
[16:02:10] [DEBUG] Fetching page 5 for doujinshi with tag 'shotacon'
[16:02:10] [DEBUG] Fetching page 6 for doujinshi with tag 'shotacon'
[16:02:11] [DEBUG] Fetching page 7 for doujinshi with tag 'shotacon'
[16:02:11] [DEBUG] Fetching page 8 for doujinshi with tag 'shotacon'
[16:02:11] [DEBUG] Fetching page 9 for doujinshi with tag 'shotacon'
[16:02:11] [DEBUG] Fetching page 10 for doujinshi with tag 'shotacon'
[16:02:12] [ERROR] Cannot find doujinshi id of tag 'shotacon'
[16:02:12] [INFO] All done.

from nhentai.

RicterZ avatar RicterZ commented on August 30, 2024

I think you set a wrong cookie. Get your cookie here:
image

from nhentai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.