tibiapy.HousesSection.from_content is broken
aaronga97 opened this issue · 1 comments
aaronga97 commented
Problem
Method tibiapy.HousesSection.from_content
(link to code) throws tibiapy.errors.InvalidContent
error instead of returning a HousesSection
object.
The reason this unintended behavior happens is because we try to access a Nonetype
object inside HouseSection._parse_filters
method when we call it house_results._parse_filters(tables["House Search"])
in line 172.
Quick fix
Commenting line 172 solves the issue for me (at least it does for my use case).
Galarzaa90 commented
This is fixed on v5.5.2, thanks for the report.