Revize 191fe921
Přidáno uživatelem Martin Sebela před asi 4 roky(ů)
modules/crawler/DatasetCrawler/OBSAZENIMISTNOSTI_crawler.py | ||
---|---|---|
41 | 41 |
#Latest links of years to array |
42 | 42 |
links = [] |
43 | 43 |
for _key, value in links_by_year.items(): |
44 |
if not value: |
|
45 |
continue |
|
46 |
|
|
44 | 47 |
links.append( |
45 | 48 |
max(value, |
46 | 49 |
key=lambda x: int(x[OFFSET_YEAR_START - MONTH_SIZE - 1: |
Také k dispozici: Unified diff
dataset crawler fix