Skip to content

Commit

Permalink
docs: Add links to issues for validate_json, to see examples (e.g. re…
Browse files Browse the repository at this point in the history
…cently, uganda_releases was invalid, because it started yielding XLSX)
  • Loading branch information
jpmckinney committed May 7, 2024
1 parent 2afb8e6 commit fcae578
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion kingfisher_scrapy/spiders/argentina_buenos_aires.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ArgentinaBuenosAires(SimpleSpider):
download_timeout = 99999 # to avoid user timeout when downloading the file

# BaseSpider
validate_json = True
validate_json = True # https://github.com/open-contracting/kingfisher-collect/issues/874

# SimpleSpider
data_type = 'release_package'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CostaRicaPoderJudicialReleases(CompressedFileSpider):
name = 'costa_rica_poder_judicial_releases'

# BaseSpider
validate_json = True
validate_json = True # https://github.com/open-contracting/kingfisher-collect/issues/876

# SimpleSpider
data_type = 'release_package'
Expand Down
2 changes: 1 addition & 1 deletion kingfisher_scrapy/spiders/croatia.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Croatia(CompressedFileSpider):
user_agent = browser_user_agent

# BaseSpider
validate_json = True
validate_json = True # https://github.com/open-contracting/kingfisher-collect/issues/886

# SimpleSpider
data_type = 'release_package'
Expand Down
2 changes: 1 addition & 1 deletion kingfisher_scrapy/spiders/indonesia_opentender.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class IndonesiaOpentender(CompressedFileSpider, PeriodicSpider):
# BaseSpider
date_format = 'year'
default_from_date = '2008'
validate_json = True
validate_json = True # https://github.com/open-contracting/kingfisher-collect/issues/964

# SimpleSpider
data_type = 'release_package'
Expand Down
2 changes: 1 addition & 1 deletion kingfisher_scrapy/spiders/nigeria_anambra_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class NigeriaAnambraState(NigeriaBonMaximusBase):
name = 'nigeria_anambra_state'

# BaseSpider
validate_json = True
validate_json = True # https://github.com/open-contracting/kingfisher-collect/issues/957

# SimpleSpider
data_type = 'release_package'
Expand Down
2 changes: 1 addition & 1 deletion kingfisher_scrapy/spiders/nigeria_enugu_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class NigeriaEnuguState(SimpleSpider):
name = 'nigeria_enugu_state'

# BaseSpider
validate_json = True
validate_json = True # https://github.com/open-contracting/kingfisher-collect/issues/963

# SimpleSpider
data_type = 'release_package'
Expand Down
2 changes: 1 addition & 1 deletion kingfisher_scrapy/spiders/nigeria_osun_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class NigeriaOsunState(NigeriaBonMaximusBase):
name = 'nigeria_osun_state'

# BaseSpider
validate_json = True
validate_json = True # https://github.com/open-contracting/kingfisher-collect/issues/963

# SimpleSpider
data_type = 'release_package'
Expand Down
2 changes: 1 addition & 1 deletion kingfisher_scrapy/spiders/pakistan_ppra_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class PakistanPPRAAPI(SimpleSpider):
name = 'pakistan_ppra_api'

# BaseSpider
validate_json = True
validate_json = True # https://github.com/open-contracting/kingfisher-collect/issues/645
skip_pluck = 'Already covered (see code for details)' # pakistan_ppra_bulk

# SimpleSpider
Expand Down
2 changes: 1 addition & 1 deletion kingfisher_scrapy/spiders/panama_dgcp_records.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PanamaDGCPRecords(PanamaDGCPBase):
name = 'panama_dgcp_records'

# BaseSpider
validate_json = True
validate_json = True # https://github.com/open-contracting/kingfisher-collect/issues/1036

# SimpleSpider
data_type = 'record_package'
Expand Down

0 comments on commit fcae578

Please sign in to comment.