1
0
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:
Jonathan Harris 2019-01-06 03:09:19 +00:00
parent 75d4f8dc24
commit 35a555bf09
3 changed files with 2 additions and 1 deletions

View File

@ -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)

Binary file not shown.

BIN
systems.p

Binary file not shown.