Skip to content

Commit

Permalink
Atualiza raspadores para Correntina-BA
Browse files Browse the repository at this point in the history
  • Loading branch information
trevineju committed Jan 29, 2025
1 parent 999dd8f commit d71444c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
from datetime import date

from gazette.spiders.base.sai import BaseSaiSpider
from gazette.spiders.base.diof import BaseDiofSpider


class BaCorrentinaSpider(BaseSaiSpider):
class BaCorrentinaSpider(BaseDiofSpider):
TERRITORY_ID = "2909307"
name = "ba_correntina"
name = "ba_correntina_2007"
allowed_domains = ["sai.io.org.br"]
base_url = "https://sai.io.org.br/ba/correntina"
start_date = date(2007, 11, 30)
end_date = date(2024, 12, 31)
10 changes: 10 additions & 0 deletions data_collection/gazette/spiders/ba/ba_correntina_2025.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from datetime import date

from gazette.spiders.base.doem import BaseDoemSpider


class BaCorrentinaSpider(BaseDoemSpider):
TERRITORY_ID = "2909307"
name = "ba_correntina_2025"
state_city_url_part = "ba/correntina"
start_date = date(2025, 1, 1)

0 comments on commit d71444c

Please sign in to comment.