-
-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Atualiza raspadores para Correntina-BA
- Loading branch information
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
7 changes: 4 additions & 3 deletions
7
...ction/gazette/spiders/ba/ba_correntina.py → .../gazette/spiders/ba/ba_correntina_2007.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
from datetime import date | ||
|
||
from gazette.spiders.base.sai import BaseSaiSpider | ||
from gazette.spiders.base.diof import BaseDiofSpider | ||
|
||
|
||
class BaCorrentinaSpider(BaseSaiSpider): | ||
class BaCorrentinaSpider(BaseDiofSpider): | ||
TERRITORY_ID = "2909307" | ||
name = "ba_correntina" | ||
name = "ba_correntina_2007" | ||
allowed_domains = ["sai.io.org.br"] | ||
base_url = "https://sai.io.org.br/ba/correntina" | ||
start_date = date(2007, 11, 30) | ||
end_date = date(2024, 12, 31) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from datetime import date | ||
|
||
from gazette.spiders.base.doem import BaseDoemSpider | ||
|
||
|
||
class BaCorrentinaSpider(BaseDoemSpider): | ||
TERRITORY_ID = "2909307" | ||
name = "ba_correntina_2025" | ||
state_city_url_part = "ba/correntina" | ||
start_date = date(2025, 1, 1) |