Skip to content

Commit

Permalink
Corrige paginação do spider de Florianópolis
Browse files Browse the repository at this point in the history
  • Loading branch information
trevineju committed Jan 11, 2025
1 parent c612b3e commit 1f84fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data_collection/gazette/spiders/sc/sc_florianopolis_2024.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ def parse_pagination(self, response, page):
power="executive_legislative",
file_urls=[edition_url],
)

if edition_date > self.start_date:
last_page = "next disabled" in response.url
if edition_date > self.start_date and not last_page:
yield self._requests(page + 1)

0 comments on commit 1f84fe6

Please sign in to comment.