From 62a3a8817bd5cf724c6939780be7e81f3610f390 Mon Sep 17 00:00:00 2001 From: trevineju Date: Wed, 5 Jun 2024 17:16:24 -0300 Subject: [PATCH] =?UTF-8?q?Adiciona=20novos=209=20raspadores=20da=20Para?= =?UTF-8?q?=C3=ADba?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Delete data_collection/gazette/spiders/pb/pb_solanea.py Signed-off-by: Juliana Trevine <44185775+trevineju@users.noreply.github.com> Update data_collection/gazette/spiders/pb/pb_tacima.py Signed-off-by: Juliana Trevine <44185775+trevineju@users.noreply.github.com> --- data_collection/gazette/spiders/pb/pb_jacarau.py | 11 +++++++++++ data_collection/gazette/spiders/pb/pb_jerico.py | 11 +++++++++++ data_collection/gazette/spiders/pb/pb_marizopolis.py | 11 +++++++++++ data_collection/gazette/spiders/pb/pb_piloezinhos.py | 11 +++++++++++ data_collection/gazette/spiders/pb/pb_riachao.py | 11 +++++++++++ .../gazette/spiders/pb/pb_sao_jose_dos_ramos.py | 11 +++++++++++ data_collection/gazette/spiders/pb/pb_serraria.py | 11 +++++++++++ data_collection/gazette/spiders/pb/pb_sertaozinho.py | 11 +++++++++++ data_collection/gazette/spiders/pb/pb_tacima.py | 11 +++++++++++ 9 files changed, 99 insertions(+) create mode 100644 data_collection/gazette/spiders/pb/pb_jacarau.py create mode 100644 data_collection/gazette/spiders/pb/pb_jerico.py create mode 100644 data_collection/gazette/spiders/pb/pb_marizopolis.py create mode 100644 data_collection/gazette/spiders/pb/pb_piloezinhos.py create mode 100644 data_collection/gazette/spiders/pb/pb_riachao.py create mode 100644 data_collection/gazette/spiders/pb/pb_sao_jose_dos_ramos.py create mode 100644 data_collection/gazette/spiders/pb/pb_serraria.py create mode 100644 data_collection/gazette/spiders/pb/pb_sertaozinho.py create mode 100644 data_collection/gazette/spiders/pb/pb_tacima.py diff --git a/data_collection/gazette/spiders/pb/pb_jacarau.py b/data_collection/gazette/spiders/pb/pb_jacarau.py new file mode 100644 index 000000000..00c087206 --- /dev/null +++ b/data_collection/gazette/spiders/pb/pb_jacarau.py @@ -0,0 +1,11 @@ +from datetime import date + +from gazette.spiders.base.adiarios_v1 import BaseAdiariosV1Spider + + +class PbJacarauSpider(BaseAdiariosV1Spider): + TERRITORY_ID = "2507309" + name = "pb_jacarau" + allowed_domains = ["jacarau.pb.gov.br"] + BASE_URL = "https://www.jacarau.pb.gov.br" + start_date = date(2019, 3, 7) diff --git a/data_collection/gazette/spiders/pb/pb_jerico.py b/data_collection/gazette/spiders/pb/pb_jerico.py new file mode 100644 index 000000000..9520158a1 --- /dev/null +++ b/data_collection/gazette/spiders/pb/pb_jerico.py @@ -0,0 +1,11 @@ +from datetime import date + +from gazette.spiders.base.adiarios_v1 import BaseAdiariosV1Spider + + +class PbJericoSpider(BaseAdiariosV1Spider): + TERRITORY_ID = "2507408" + name = "pb_jerico" + allowed_domains = ["jerico.pb.gov.br"] + BASE_URL = "https://www.jerico.pb.gov.br" + start_date = date(2021, 6, 1) diff --git a/data_collection/gazette/spiders/pb/pb_marizopolis.py b/data_collection/gazette/spiders/pb/pb_marizopolis.py new file mode 100644 index 000000000..1ec2f0394 --- /dev/null +++ b/data_collection/gazette/spiders/pb/pb_marizopolis.py @@ -0,0 +1,11 @@ +from datetime import date + +from gazette.spiders.base.adiarios_v1 import BaseAdiariosV1Spider + + +class PbMarizopolisSpider(BaseAdiariosV1Spider): + TERRITORY_ID = "2509156" + name = "pb_marizopolis" + allowed_domains = ["marizopolis.pb.gov.br"] + BASE_URL = "https://www.marizopolis.pb.gov.br" + start_date = date(2021, 1, 27) diff --git a/data_collection/gazette/spiders/pb/pb_piloezinhos.py b/data_collection/gazette/spiders/pb/pb_piloezinhos.py new file mode 100644 index 000000000..696383ade --- /dev/null +++ b/data_collection/gazette/spiders/pb/pb_piloezinhos.py @@ -0,0 +1,11 @@ +from datetime import date + +from gazette.spiders.base.adiarios_v1 import BaseAdiariosV1Spider + + +class PbPiloezinhosSpider(BaseAdiariosV1Spider): + TERRITORY_ID = "2511707" + name = "pb_piloezinhos" + allowed_domains = ["piloezinhos.pb.gov.br"] + BASE_URL = "https://www.piloezinhos.pb.gov.br" + start_date = date(2022, 6, 1) diff --git a/data_collection/gazette/spiders/pb/pb_riachao.py b/data_collection/gazette/spiders/pb/pb_riachao.py new file mode 100644 index 000000000..4c1c2f4e1 --- /dev/null +++ b/data_collection/gazette/spiders/pb/pb_riachao.py @@ -0,0 +1,11 @@ +from datetime import date + +from gazette.spiders.base.adiarios_v1 import BaseAdiariosV1Spider + + +class PbRiachaoSpider(BaseAdiariosV1Spider): + TERRITORY_ID = "2512747" + name = "pb_riachao" + allowed_domains = ["riachao.pb.gov.br"] + BASE_URL = "https://www.riachao.pb.gov.br" + start_date = date(2024, 2, 29) diff --git a/data_collection/gazette/spiders/pb/pb_sao_jose_dos_ramos.py b/data_collection/gazette/spiders/pb/pb_sao_jose_dos_ramos.py new file mode 100644 index 000000000..b3c4c816e --- /dev/null +++ b/data_collection/gazette/spiders/pb/pb_sao_jose_dos_ramos.py @@ -0,0 +1,11 @@ +from datetime import date + +from gazette.spiders.base.adiarios_v1 import BaseAdiariosV1Spider + + +class PbSaoJoseDosRamosSpider(BaseAdiariosV1Spider): + TERRITORY_ID = "2514453" + name = "pb_sao_jose_dos_ramos" + allowed_domains = ["saojosedosramos.pb.gov.br"] + BASE_URL = "https://www.saojosedosramos.pb.gov.br" + start_date = date(2021, 1, 4) diff --git a/data_collection/gazette/spiders/pb/pb_serraria.py b/data_collection/gazette/spiders/pb/pb_serraria.py new file mode 100644 index 000000000..e4d3d4c88 --- /dev/null +++ b/data_collection/gazette/spiders/pb/pb_serraria.py @@ -0,0 +1,11 @@ +from datetime import date + +from gazette.spiders.base.adiarios_v1 import BaseAdiariosV1Spider + + +class PbSerrariaSpider(BaseAdiariosV1Spider): + TERRITORY_ID = "2515906" + name = "pb_serraria" + allowed_domains = ["serraria.pb.gov.br"] + BASE_URL = "https://www.serraria.pb.gov.br" + start_date = date(2024, 3, 1) diff --git a/data_collection/gazette/spiders/pb/pb_sertaozinho.py b/data_collection/gazette/spiders/pb/pb_sertaozinho.py new file mode 100644 index 000000000..8878d160b --- /dev/null +++ b/data_collection/gazette/spiders/pb/pb_sertaozinho.py @@ -0,0 +1,11 @@ +from datetime import date + +from gazette.spiders.base.adiarios_v1 import BaseAdiariosV1Spider + + +class PbSertaozinhoSpider(BaseAdiariosV1Spider): + TERRITORY_ID = "2515930" + name = "pb_sertaozinho" + allowed_domains = ["sertaozinho.pb.gov.br"] + BASE_URL = "https://www.sertaozinho.pb.gov.br" + start_date = date(2024, 2, 1) diff --git a/data_collection/gazette/spiders/pb/pb_tacima.py b/data_collection/gazette/spiders/pb/pb_tacima.py new file mode 100644 index 000000000..b0de6b6ae --- /dev/null +++ b/data_collection/gazette/spiders/pb/pb_tacima.py @@ -0,0 +1,11 @@ +from datetime import date + +from gazette.spiders.base.adiarios_v1 import BaseAdiariosV1Spider + + +class PbTacimaSpider(BaseAdiariosV1Spider): + TERRITORY_ID = "2516409" + name = "pb_tacima" + allowed_domains = ["pmtacima.pb.gov.br"] + BASE_URL = "https://www.pmtacima.pb.gov.br" + start_date = date(2024, 1, 26)