Skip to content

Commit

Permalink
add: 3 novas cidades (#1000)
Browse files Browse the repository at this point in the history
Itapicuru - BA
Jaguaquara- BA
Lajedão - BA
  • Loading branch information
trevineju authored Oct 28, 2023
2 parents 60d37b9 + fe46f47 commit d7eafc7
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_itapicuru.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 BaItapicuruSpider(DoemGazetteSpider):
TERRITORY_ID = "2916500"
name = "ba_itapicuru"
start_date = date(2021, 1, 4)
state_city_url_part = "ba/itapicuru"
10 changes: 10 additions & 0 deletions data_collection/gazette/spiders/ba/ba_jaguaquara.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 BaJaguaquaraSpider(DoemGazetteSpider):
TERRITORY_ID = "2917607"
name = "ba_jaguaquara"
start_date = date(2021, 4, 5)
state_city_url_part = "ba/jaguaquara"
10 changes: 10 additions & 0 deletions data_collection/gazette/spiders/ba/ba_lajedao.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 BaLajedaoSpider(DoemGazetteSpider):
TERRITORY_ID = "2918902"
name = "ba_lajedao"
start_date = date(2021, 4, 14)
state_city_url_part = "ba/lajedao"
3 changes: 3 additions & 0 deletions scripts/enabled_spiders.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@
"ba_itaberaba",
"ba_itamaraju",
"ba_itapetinga",
"ba_itapicuru",
"ba_ituacu",
"ba_jaguaquara",
"ba_juazeiro",
"ba_laje",
"ba_lajedao",
"ba_macajuba",
"ba_mascote",
"ba_monte_santo",
Expand Down

0 comments on commit d7eafc7

Please sign in to comment.