Skip to content

Commit

Permalink
Add: 3 novas cidades (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevineju authored Oct 28, 2023
2 parents f3aa71c + 358ebe8 commit f2f5603
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data_collection/gazette/spiders/ba/ba_cruz_das_almas.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 DoemGazetteSpider


class BaCruzDasAlmasSpider(DoemGazetteSpider):
TERRITORY_ID = "2909802"
name = "ba_cruz_das_almas"
start_date = date(2021, 4, 1)
state_city_url_part = "ba/cruzdasalmas"
10 changes: 10 additions & 0 deletions data_collection/gazette/spiders/ba/ba_esplanada.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 DoemGazetteSpider


class BaEsplanadaSpider(DoemGazetteSpider):
TERRITORY_ID = "2910602"
name = "ba_esplanada"
start_date = date(2021, 1, 4)
state_city_url_part = "ba/esplanada"
10 changes: 10 additions & 0 deletions data_collection/gazette/spiders/ba/ba_itaberaba.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 DoemGazetteSpider


class BaItaberabaSpider(DoemGazetteSpider):
TERRITORY_ID = "2914703"
name = "ba_itaberaba"
start_date = date(2022, 7, 4)
state_city_url_part = "ba/itaberaba"
3 changes: 3 additions & 0 deletions scripts/enabled_spiders.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
"ba_campo_formoso",
"ba_canudos",
"ba_cristopolis",
"ba_cruz_das_almas",
"ba_esplanada",
"ba_feira_de_santana",
"ba_irara",
"ba_itaberaba",
"ba_itamaraju",
"ba_itapetinga",
"ba_ituacu",
Expand Down

0 comments on commit f2f5603

Please sign in to comment.