mirror of
https://codeberg.org/matkoniecz/list_how_openstreetmap_can_be_improved_with_alltheplaces_data.git
synced 2025-05-13 05:03:09 +02:00
skip ones without own websites
This commit is contained in:
parent
75f62c66e3
commit
91ee2c3ae1
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ def allowed_spider(atp_code):
|
|||
return False # apparently, they geoblock their website # TODO move to some general config?
|
||||
if atp_code.endswith("_pl") != True:
|
||||
return False # TODO enable more
|
||||
if count_unique_website_links(atp_code) < 5: # <=1 ? TODO
|
||||
link_count = count_unique_website_links(atp_code)
|
||||
if link_count < 5: # <=1 ? TODO
|
||||
# keep only ones where it is easy to check website of specific POI
|
||||
# TODO_LOW_PRIORITY check all
|
||||
return False
|
||||
|
|
Loading…
Add table
Reference in a new issue