-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #955 from open-contracting/931-plateau-state
add nigeria_plateau_state spider
- Loading branch information
Showing
4 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
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
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,19 @@ | ||
import scrapy | ||
|
||
from kingfisher_scrapy.base_spiders import SimpleSpider | ||
|
||
|
||
class NigeriaPlateauState(SimpleSpider): | ||
""" | ||
Domain | ||
Nigeria Plateau State | ||
Bulk download documentation | ||
https://plateaustatebpp.com/ocds | ||
""" | ||
name = 'nigeria_plateau_state' | ||
|
||
# SimpleSpider | ||
data_type = 'release_package' | ||
|
||
def start_requests(self): | ||
yield scrapy.Request('https://plateaustatebpp.com/export', meta={'file_name': 'all.json'}) |
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
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