diff --git a/data_collection/gazette/resources/territories.csv b/data_collection/gazette/resources/territories.csv index 369f0d411..e909e1554 100644 --- a/data_collection/gazette/resources/territories.csv +++ b/data_collection/gazette/resources/territories.csv @@ -5569,3 +5569,4 @@ id,name,state_code,state 3557154,Zacarias,SP,São Paulo 2114007,Zé Doca,MA,Maranhão 4219853,Zortéa,SC,Santa Catarina +2700000,Associação dos Municípios Alagoanos,AL,Alagoas diff --git a/data_collection/gazette/spiders/al/al_associacao_municipios.py b/data_collection/gazette/spiders/al/al_associacao_municipios.py index 39e2d0c0a..e27544b2e 100644 --- a/data_collection/gazette/spiders/al/al_associacao_municipios.py +++ b/data_collection/gazette/spiders/al/al_associacao_municipios.py @@ -1,7 +1,10 @@ +import datetime + from gazette.spiders.base.sigpub import SigpubGazetteSpider class AlAssociacaoMunicipiosSpider(SigpubGazetteSpider): name = "al_associacao_municipios" TERRITORY_ID = "2700000" - CALENDAR_URL = "https://www.diariomunicipal.com.br/ama" + CALENDAR_URL = "https://www.diariomunicipal.com.br/ama/" + start_date = datetime.date(2014, 4, 10) diff --git a/scripts/enabled_spiders.py b/scripts/enabled_spiders.py index a8b390614..dbb7e084b 100644 --- a/scripts/enabled_spiders.py +++ b/scripts/enabled_spiders.py @@ -2,6 +2,7 @@ # automatically in production SPIDERS = [ "al_maceio", + "al_associacao_municipios", "am_manaus", "ap_macapa", "ap_santana",