ArmindoFlores / ao3_api

An unofficial archiveofourown.org (AO3) API for python
MIT License
166 stars 64 forks source link

"AttributeError: 'NoneType' object has no attribute 'text'" when calling Chapter.get_comments() #92

Open FantixX opened 1 year ago

FantixX commented 1 year ago

work.get_comments(5)

works fine, but

work.chapters[0].get_comments(5)

gives this error:

AttributeError: 'NoneType' object has no attribute 'text'

the chapter itself is fine, i.e.

work.chapters[0].title

gives the correct title