Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adicionando raspadores para abare, adustina, almadina, anage e andorinha #1134

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions data_collection/gazette/spiders/ba/ba_abare.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import datetime as dt

from gazette.spiders.base.sai import SaiGazetteSpider


class BaAbareSpider(SaiGazetteSpider):
TERRITORY_ID = "2900207"
name = "ba_abare"
start_date = dt.date(2007, 1, 9)
allowed_domains = ["sai.io.org.br"]
base_url = "https://sai.io.org.br/ba/abare"
11 changes: 11 additions & 0 deletions data_collection/gazette/spiders/ba/ba_adustina.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import datetime as dt

from gazette.spiders.base.sai import SaiGazetteSpider


class BaAdustinaSpider(SaiGazetteSpider):
TERRITORY_ID = "2900355"
name = "ba_adustina"
start_date = dt.date(2017, 1, 3)
allowed_domains = ["adustina.ba.gov.br"]
base_url = "https://www.adustina.ba.gov.br/site/diariooficial"
11 changes: 11 additions & 0 deletions data_collection/gazette/spiders/ba/ba_almadina.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import datetime as dt

from gazette.spiders.base.sai import SaiGazetteSpider


class BaAlmadinaSpider(SaiGazetteSpider):
TERRITORY_ID = "2900900"
name = "ba_almadina"
start_date = dt.date(2005, 1, 3)
allowed_domains = ["almadina.ba.gov.br"]
base_url = "https://www.almadina.ba.gov.br/site/diariooficial"
11 changes: 11 additions & 0 deletions data_collection/gazette/spiders/ba/ba_anage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import datetime as dt

from gazette.spiders.base.sai import SaiGazetteSpider


class BaAnageSpider(SaiGazetteSpider):
TERRITORY_ID = "2901205"
name = "ba_anage"
start_date = dt.date(2017, 1, 12)
allowed_domains = ["anage.ba.gov.br"]
base_url = "https://www.anage.ba.gov.br/site/diariooficial"
11 changes: 11 additions & 0 deletions data_collection/gazette/spiders/ba/ba_andorinha.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import datetime as dt

from gazette.spiders.base.sai import SaiGazetteSpider


class BaAndorinhaSpider(SaiGazetteSpider):
TERRITORY_ID = "2901353"
name = "ba_andorinha"
start_date = dt.date(2013, 1, 2)
allowed_domains = ["adorinha.ba.gov.br"]
base_url = "https://www.andorinha.ba.gov.br/site/diariooficial"
4 changes: 3 additions & 1 deletion data_collection/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ scrapy
scrapy-zyte-smartproxy
SQLAlchemy
spidermon
w3lib
w3lib
importlib
build
Loading