Skip to content

Commit

Permalink
Adiciona 7 novos raspadores (#1335)
Browse files Browse the repository at this point in the history
Finaliza PR #1312
  • Loading branch information
trevineju authored Dec 18, 2024
2 parents 045c8f3 + f8b2456 commit 871f44a
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 0 deletions.
12 changes: 12 additions & 0 deletions data_collection/gazette/spiders/to/to_aparecida_do_rio_negro.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from datetime import date

from gazette.spiders.base.barcodigital import BaseBarcoDigitalSpider


class ToAparecidaDoRioNegro(BaseBarcoDigitalSpider):
name = "to_aparecida_do_rio_negro"
TERRITORY_ID = "1701101"
allowed_domains = ["api-pmaparecida.barcodigital.com.br"]
base_url = "https://api-pmaparecida.barcodigital.com.br"

start_date = date(2017, 7, 13)
12 changes: 12 additions & 0 deletions data_collection/gazette/spiders/to/to_centenario.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from datetime import date

from gazette.spiders.base.barcodigital import BaseBarcoDigitalSpider


class ToCentenario(BaseBarcoDigitalSpider):
name = "to_centenario"
TERRITORY_ID = "1704105"
allowed_domains = ["api-centenario.barcodigital.com.br"]
base_url = "https://api-centenario.barcodigital.com.br"

start_date = date(2015, 9, 9)
12 changes: 12 additions & 0 deletions data_collection/gazette/spiders/to/to_divinopolis_do_tocantins.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from datetime import date

from gazette.spiders.base.barcodigital import BaseBarcoDigitalSpider


class ToDivinopolisDoTocantins(BaseBarcoDigitalSpider):
name = "to_divinopolis_do_tocantins"
TERRITORY_ID = "1707108"
allowed_domains = ["api-divinopolis.barcodigital.com.br"]
base_url = "https://api-divinopolis.barcodigital.com.br"

start_date = date(2021, 4, 29)
12 changes: 12 additions & 0 deletions data_collection/gazette/spiders/to/to_lagoa_da_confusao.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from datetime import date

from gazette.spiders.base.barcodigital import BaseBarcoDigitalSpider


class ToLagoaDaConfusao(BaseBarcoDigitalSpider):
name = "to_lagoa_da_confusao"
TERRITORY_ID = "1711902"
allowed_domains = ["api-lagoadac.barcodigital.com.br"]
base_url = "https://api-lagoadac.barcodigital.com.br"

start_date = date(2018, 11, 1)
12 changes: 12 additions & 0 deletions data_collection/gazette/spiders/to/to_nazare.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from datetime import date

from gazette.spiders.base.barcodigital import BaseBarcoDigitalSpider


class ToNazare(BaseBarcoDigitalSpider):
name = "to_nazare"
TERRITORY_ID = "1714302"
allowed_domains = ["api-nazare.barcodigital.com.br"]
base_url = "https://api-nazare.barcodigital.com.br"

start_date = date(year=2017, month=3, day=7)
12 changes: 12 additions & 0 deletions data_collection/gazette/spiders/to/to_ponte_alta_do_tocantins.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from datetime import date

from gazette.spiders.base.barcodigital import BaseBarcoDigitalSpider


class ToPonteAltaDoTocantins(BaseBarcoDigitalSpider):
name = "to_ponte_alta_do_tocantins"
TERRITORY_ID = "1717909"
allowed_domains = ["api-ponte.barcodigital.com.br"]
base_url = "https://api-ponte.barcodigital.com.br"

start_date = date(2021, 4, 30)
12 changes: 12 additions & 0 deletions data_collection/gazette/spiders/to/to_pugmil.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from datetime import date

from gazette.spiders.base.barcodigital import BaseBarcoDigitalSpider


class ToPugmil(BaseBarcoDigitalSpider):
name = "to_pugmil"
TERRITORY_ID = "1718451"
allowed_domains = ["api-pugmil.barcodigital.com.br"]
base_url = "https://api-pugmil.barcodigital.com.br"

start_date = date(2017, 9, 29)

0 comments on commit 871f44a

Please sign in to comment.