From d1bf0078b93c2cd7524c2dc41d3b9e81704eee2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Let=C3=ADcia=20Amaral?= <100724477+vicitel@users.noreply.github.com> Date: Sun, 5 Nov 2023 14:50:15 -0300 Subject: [PATCH 1/3] add Angical-BA --- data_collection/gazette/spiders/ba/ba_angical.py | 10 ++++++++++ scripts/enabled_spiders.py | 1 + 2 files changed, 11 insertions(+) create mode 100644 data_collection/gazette/spiders/ba/ba_angical.py diff --git a/data_collection/gazette/spiders/ba/ba_angical.py b/data_collection/gazette/spiders/ba/ba_angical.py new file mode 100644 index 000000000..2ec523e5f --- /dev/null +++ b/data_collection/gazette/spiders/ba/ba_angical.py @@ -0,0 +1,10 @@ +from datetime import date + +from gazette.spiders.base.doem import DoemGazetteSpider + + +class BaAngicalSpider(DoemGazetteSpider): + TERRITORY_ID = "2901403" + name = "ba_angical" + start_date = date(2021, 1, 4) + state_city_url_part = "ba/angical" \ No newline at end of file diff --git a/scripts/enabled_spiders.py b/scripts/enabled_spiders.py index 840586228..fe1a92f49 100644 --- a/scripts/enabled_spiders.py +++ b/scripts/enabled_spiders.py @@ -8,6 +8,7 @@ "ba_acajutiba", "ba_alagoinhas", "ba_alcobaca", + "ba_angical", "ba_banzae", "ba_barreiras", "ba_brotas_de_macaubas", From c15e84ee52e39e4594a58524913bd0dc401d0860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Let=C3=ADcia=20Amaral?= <100724477+vicitel@users.noreply.github.com> Date: Sun, 5 Nov 2023 14:53:36 -0300 Subject: [PATCH 2/3] =?UTF-8?q?add=20Cip=C3=B3-BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data_collection/gazette/spiders/ba/ba_cipo.py | 10 ++++++++++ scripts/enabled_spiders.py | 1 + 2 files changed, 11 insertions(+) create mode 100644 data_collection/gazette/spiders/ba/ba_cipo.py diff --git a/data_collection/gazette/spiders/ba/ba_cipo.py b/data_collection/gazette/spiders/ba/ba_cipo.py new file mode 100644 index 000000000..b640c2fbd --- /dev/null +++ b/data_collection/gazette/spiders/ba/ba_cipo.py @@ -0,0 +1,10 @@ +from datetime import date + +from gazette.spiders.base.doem import DoemGazetteSpider + + +class BaCipoSpider(DoemGazetteSpider): + TERRITORY_ID = "2907905" + name = "ba_cipo" + start_date = date(2021, 1, 4) + state_city_url_part = "ba/cipo" \ No newline at end of file diff --git a/scripts/enabled_spiders.py b/scripts/enabled_spiders.py index fe1a92f49..3794c0075 100644 --- a/scripts/enabled_spiders.py +++ b/scripts/enabled_spiders.py @@ -14,6 +14,7 @@ "ba_brotas_de_macaubas", "ba_campo_formoso", "ba_canudos", + "ba_cipo", "ba_cristopolis", "ba_cruz_das_almas", "ba_esplanada", From 5ef1861eb10ab9dd98f36eb05b58f052a8e00515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Let=C3=ADcia=20Amaral?= <100724477+vicitel@users.noreply.github.com> Date: Sun, 5 Nov 2023 14:55:40 -0300 Subject: [PATCH 3/3] add Cotegipe-BA fix start date Cotegipe-BA --- data_collection/gazette/spiders/ba/ba_angical.py | 2 +- data_collection/gazette/spiders/ba/ba_cipo.py | 2 +- data_collection/gazette/spiders/ba/ba_cotegipe.py | 10 ++++++++++ scripts/enabled_spiders.py | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 data_collection/gazette/spiders/ba/ba_cotegipe.py diff --git a/data_collection/gazette/spiders/ba/ba_angical.py b/data_collection/gazette/spiders/ba/ba_angical.py index 2ec523e5f..fdf7efd76 100644 --- a/data_collection/gazette/spiders/ba/ba_angical.py +++ b/data_collection/gazette/spiders/ba/ba_angical.py @@ -7,4 +7,4 @@ class BaAngicalSpider(DoemGazetteSpider): TERRITORY_ID = "2901403" name = "ba_angical" start_date = date(2021, 1, 4) - state_city_url_part = "ba/angical" \ No newline at end of file + state_city_url_part = "ba/angical" diff --git a/data_collection/gazette/spiders/ba/ba_cipo.py b/data_collection/gazette/spiders/ba/ba_cipo.py index b640c2fbd..9146e6e79 100644 --- a/data_collection/gazette/spiders/ba/ba_cipo.py +++ b/data_collection/gazette/spiders/ba/ba_cipo.py @@ -7,4 +7,4 @@ class BaCipoSpider(DoemGazetteSpider): TERRITORY_ID = "2907905" name = "ba_cipo" start_date = date(2021, 1, 4) - state_city_url_part = "ba/cipo" \ No newline at end of file + state_city_url_part = "ba/cipo" diff --git a/data_collection/gazette/spiders/ba/ba_cotegipe.py b/data_collection/gazette/spiders/ba/ba_cotegipe.py new file mode 100644 index 000000000..5c6bdf803 --- /dev/null +++ b/data_collection/gazette/spiders/ba/ba_cotegipe.py @@ -0,0 +1,10 @@ +from datetime import date + +from gazette.spiders.base.doem import DoemGazetteSpider + + +class BaCotegipeSpider(DoemGazetteSpider): + TERRITORY_ID = "2909406" + name = "ba_cotegipe" + start_date = date(2023, 1, 5) + state_city_url_part = "ba/cotegipe" diff --git a/scripts/enabled_spiders.py b/scripts/enabled_spiders.py index 3794c0075..688872dec 100644 --- a/scripts/enabled_spiders.py +++ b/scripts/enabled_spiders.py @@ -15,6 +15,7 @@ "ba_campo_formoso", "ba_canudos", "ba_cipo", + "ba_cotegipe", "ba_cristopolis", "ba_cruz_das_almas", "ba_esplanada",