You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./immoscraper.py", line 51, in <module>
page_count = get_page_count(mainpage_result)
File "./immoscraper.py", line 18, in get_page_count
.find("select", {"class": "select font-standard"})
AttributeError: 'NoneType' object has no attribute 'find_all'
The script gets the page count from the dropdown menu. When there is no such menu ( because all the results fit in one page), the script fails.
Implementing #1 to manage page traversal should fix this.
The text was updated successfully, but these errors were encountered:
The script gets the page count from the dropdown menu. When there is no such menu ( because all the results fit in one page), the script fails.
Implementing #1 to manage page traversal should fix this.
The text was updated successfully, but these errors were encountered: