From ad890ac9f6300ac5792ad65278160227343fd40c Mon Sep 17 00:00:00 2001 From: Rodrigo LS <66273650+JolidPnake@users.noreply.github.com> Date: Tue, 24 Oct 2023 20:13:44 +0000 Subject: [PATCH 1/2] Lista de cidades de PR2 --- .../gazette/spiders/ba/ba_cruz_das_almas.py | 10 ++++++++++ data_collection/gazette/spiders/ba/ba_esplanada.py | 10 ++++++++++ data_collection/gazette/spiders/ba/ba_itaberaba.py | 10 ++++++++++ 3 files changed, 30 insertions(+) create mode 100644 data_collection/gazette/spiders/ba/ba_cruz_das_almas.py create mode 100644 data_collection/gazette/spiders/ba/ba_esplanada.py create mode 100644 data_collection/gazette/spiders/ba/ba_itaberaba.py diff --git a/data_collection/gazette/spiders/ba/ba_cruz_das_almas.py b/data_collection/gazette/spiders/ba/ba_cruz_das_almas.py new file mode 100644 index 000000000..40f4297ea --- /dev/null +++ b/data_collection/gazette/spiders/ba/ba_cruz_das_almas.py @@ -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" diff --git a/data_collection/gazette/spiders/ba/ba_esplanada.py b/data_collection/gazette/spiders/ba/ba_esplanada.py new file mode 100644 index 000000000..5c0089396 --- /dev/null +++ b/data_collection/gazette/spiders/ba/ba_esplanada.py @@ -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" diff --git a/data_collection/gazette/spiders/ba/ba_itaberaba.py b/data_collection/gazette/spiders/ba/ba_itaberaba.py new file mode 100644 index 000000000..f0208e088 --- /dev/null +++ b/data_collection/gazette/spiders/ba/ba_itaberaba.py @@ -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" From 358ebe896146f686dd24d4944eca632523c917c4 Mon Sep 17 00:00:00 2001 From: trevineju Date: Sat, 28 Oct 2023 02:02:56 -0300 Subject: [PATCH 2/2] =?UTF-8?q?Habilita=20novas=20cidades=20em=20produ?= =?UTF-8?q?=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/enabled_spiders.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/enabled_spiders.py b/scripts/enabled_spiders.py index 49945c083..b3d4cf44c 100644 --- a/scripts/enabled_spiders.py +++ b/scripts/enabled_spiders.py @@ -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",