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
80 stars 16 forks source link

Add a way to fetch comments from doujins #17

Closed catjacks38 closed 2 years ago

catjacks38 commented 2 years ago

This might not be the most useful API feature to implement, but it would add another way for the API to interact with Nhentai.

AlexandreSenpai commented 2 years ago

Nice request @catjacks38. I will put this on my backlog. When its released i'll notify you using this issue

catjacks38 commented 2 years ago

Ok, thank you!

AlexandreSenpai commented 2 years ago

Feature implemented at version 1.0.2

pip3 install NHentai-API==1.0.2

usage:

from NHentai import NHentai

client = NHentai()
comment_page = client.get_comments(doujin_id=1)
comments = comment_page.comments
total_comments = comment_page.total_comments