Comments (12)
No one ? :/
from nhentai.
from nhentai.
@BarneyGold
nhentai --cookie 'XXX'
nhentai --tag bukkake
Worked fine according my test.
from nhentai.
pip install nhentai==0.3.2
to upgrade
from nhentai.
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 1\AppData\Local\Temp\pip-install-cg1ri1dw\nhentai\setup.py", line 15, in long_description
long_description=long_description(),
File "C:\Users\USER
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.
._. what's your python version?
from nhentai.
python verison is 3.7.3 and pip verison is 19.1.1
from nhentai.
I released 0.3.4, using pip install nhentai -U to install
from nhentai.
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.
Trying set your cookie first: nhentai --cookie 'YOUR NHENTAI COOKIE'
.
You can obtain your cookie from Chrome network tab.
from nhentai.
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.
I think you set a wrong cookie. Get your cookie here:
from nhentai.
Related Issues (20)
- Issue with the artist filter search HOT 1
- Certain tags don't work when language is set to english. --clean-language doesn't produce any results HOT 1
- When generating CBZ or PDF in mass move them into individual folders
- --show doesn't show the date like the ComicInfo.xml does
- Download a specific title with weird character
- Consider using XDG Base Directory Specification on Linux HOT 1
- Does not work. HOT 1
- Setting mirror to nhentai.to breaks on request parsing HOT 4
- SyntaxError: invalid syntax HOT 2
- Is it possible to make download format to be '{%i}%s' rather than '[%i]%s'? HOT 1
- Not possible to CBZ folders after download?
- Executable bug not being generated and the html text wall
- I don't know how to install the pip
- Question on artist option usage
- Cookies without cf_clearance
- Request for new mirror scheme
- 'nhentai' is not recognized as an internal or external command.
- Faliure to download
- metadata.json's "category" field can contain multiple values
- Downloads only by one
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nhentai.