Skip to content

Commit

Permalink
Add cidades instar (Cachoeira do sul-RS, Januaria-MG, Monte Mor-SP) (#…
Browse files Browse the repository at this point in the history
…991)

Issue #986 
Task 4
Adicionado Spiders das cidades abaixo:
Cachoeira do sul-RS, 
Januária-MG, 
Monte Mor-SP
  • Loading branch information
trevineju authored Oct 24, 2023
2 parents 383b975 + ee3be6d commit 4dd46b2
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
11 changes: 11 additions & 0 deletions data_collection/gazette/spiders/mg/mg_januaria.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from datetime import date

from gazette.spiders.base.instar import BaseInstarSpider


class MgJanuariaSpider(BaseInstarSpider):
TERRITORY_ID = "3135209"
name = "mg_januaria"
allowed_domains = ["januaria.mg.gov.br"]
base_url = "https://www.januaria.mg.gov.br/portal/diario-oficial"
start_date = date(2022, 4, 29)
11 changes: 11 additions & 0 deletions data_collection/gazette/spiders/rs/rs_cachoeira_do_sul.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from datetime import date

from gazette.spiders.base.instar import BaseInstarSpider


class RsCachoeiraDoSulSpider(BaseInstarSpider):
TERRITORY_ID = "4303004"
name = "rs_cachoeira_do_sul"
allowed_domains = ["cachoeiradosul.rs.gov.br"]
base_url = "https://www.cachoeiradosul.rs.gov.br/portal/diario-oficial"
start_date = date(2021, 10, 27)
11 changes: 11 additions & 0 deletions data_collection/gazette/spiders/sp/sp_monte_mor.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from datetime import date

from gazette.spiders.base.instar import BaseInstarSpider


class SpMonteMor(BaseInstarSpider):
TERRITORY_ID = "3531803"
name = "sp_monte_mor"
allowed_domains = ["montemor.sp.gov.br"]
base_url = "https://www.montemor.sp.gov.br/portal/diario-oficial"
start_date = date(2019, 9, 20)
3 changes: 3 additions & 0 deletions scripts/enabled_spiders.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"mg_crucilandia",
"mg_itajuba",
"mg_itauna",
"mg_januaria",
"mg_nova_serrana",
"mg_piranguinho",
"mg_salinas",
Expand Down Expand Up @@ -99,6 +100,7 @@
"rn_mossoro_2023",
"rn_natal",
"rr_boa_vista",
"rs_cachoeira_do_sul",
"rs_caxias_do_sul",
"rs_cerrito",
"rs_porto_alegre",
Expand Down Expand Up @@ -137,6 +139,7 @@
"sp_marilia",
"sp_monte_alto_2017",
"sp_mogi_guacu",
"sp_monte_mor",
"sp_osasco",
"sp_parisi",
"sp_patrocinio_paulista",
Expand Down

0 comments on commit 4dd46b2

Please sign in to comment.