Skip to content

Commit

Permalink
Update Quien es Quien API to V3
Browse files Browse the repository at this point in the history
  • Loading branch information
cecicasco committed Jun 14, 2021
1 parent 09bcdc5 commit 489264d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kingfisher_scrapy/spiders/mexico_quien_es_quien.py
Expand Up @@ -20,12 +20,12 @@ class MexicoQuienEsQuien(IndexSpider):
root_path = 'data.item'

# SimpleSpider
data_type = 'record_package'
data_type = 'release'

# IndexSpider
count_pointer = '/data/index/contracts/count'
limit = 1000
base_url = 'https://api.quienesquien.wiki/v3/contracts'
base_url = 'https://api.quienesquien.wiki/v3/contracts?sort=date&sort_direction=desc'
formatter = staticmethod(parameters('offset'))
yield_list_results = False

Expand Down

0 comments on commit 489264d

Please sign in to comment.