AlexandreSenpai / Enma

Enma is a Python library designed to fetch and download manga and doujinshi data from many sources including Manganato and NHentai.
MIT License
88 stars 16 forks source link

You are not allowed to access this resource #47

Closed Nega-ve closed 1 year ago

Nega-ve commented 1 year ago
from NHentai import NHentai, CloudFlareSettings
nhentai_async = NHentai(request_settings=CloudFlareSettings(csrftoken="hne[...]", cf_clearance="1qDg[...]"))
print(nhentai_async.get_page(page=1))

Being locked out of the api even with the right cf cookies. Error message " NHentai.core.handler.ApiError: You are not allowed to access this resource "

AlexandreSenpai commented 1 year ago

I'm closing this issue as the new version fixes it. Enma v2.0.2