Skip to content

Commit

Permalink
spiders(kosovo): update dateformat
Browse files Browse the repository at this point in the history
  • Loading branch information
yolile committed Nov 30, 2021
1 parent d0b56f1 commit 6121458
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kingfisher_scrapy/spiders/kosovo.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ class Kosovo(SimpleSpider):
Public Procurement Regulatory Commission
Spider arguments
from_date
Download only data from this time onward (YYYY-MM-DDThh:mm:ss format). Defaults to '2000-01-01T00:00:00'.
Download only data from this time onward (YYYY-MM-DD format). Defaults to '2000-01-01'.
until_date
Download only data until this time (YYYY-MM-DDThh:mm:ss format). Defaults to now.
Download only data until this time (YYYY-MM-DD format). Defaults to now.
API documentation
https://ocdskrpp.rks-gov.net/Help
"""
name = 'kosovo'

# BaseSpider
date_format = 'datetime'
date_format = 'date'
date_required = True
default_from_date = '2000-01-01T00:00:00'
default_from_date = '2000-01-01'

# SimpleSpider
data_type = 'release_package'
Expand Down

0 comments on commit 6121458

Please sign in to comment.