Skip to content

Commit

Permalink
Reduz intervalo de recorrência de datas
Browse files Browse the repository at this point in the history
  • Loading branch information
trevineju committed Jan 21, 2025
1 parent 39a09cf commit 39c369c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BaseAdministracaoPublicaSpider(BaseGazetteSpider):

def start_requests(self):
dates = list(
rrule(freq=DAILY, interval=20, dtstart=self.start_date, until=self.end_date)
rrule(freq=DAILY, interval=10, dtstart=self.start_date, until=self.end_date)
)
dt_end_date = dt(self.end_date.year, self.end_date.month, self.end_date.day)
if dt_end_date not in dates:
Expand Down

0 comments on commit 39c369c

Please sign in to comment.