mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-13 07:47:14 +03:00
Update eddb database
This commit is contained in:
parent
75d4f8dc24
commit
35a555bf09
3
eddb.py
3
eddb.py
@ -9,7 +9,7 @@ import json
|
||||
import requests
|
||||
|
||||
def download(filename):
|
||||
r = requests.get('https://eddb.io/archive/v5/' + filename, stream=True)
|
||||
r = requests.get('https://eddb.io/archive/v6/' + filename, stream=True)
|
||||
print '\n%s\t%dK' % (filename, len(r.content) / 1024)
|
||||
return r
|
||||
|
||||
@ -90,6 +90,7 @@ if __name__ == "__main__":
|
||||
|
||||
# Hack - ensure duplicate system names are pointing at the more interesting system
|
||||
system_ids['Amo'] = (866, True)
|
||||
system_ids['C Puppis'] = (25068, False)
|
||||
system_ids['q Velorum'] = (15843, True)
|
||||
system_ids['M Carinae'] = (22627, False)
|
||||
system_ids['HH 17'] = (61275, False)
|
||||
|
BIN
stations.p
BIN
stations.p
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user