mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2025-12-06 06:52:00 +01:00
updated clublog url to cdn.clublog.org in multiple places
This commit is contained in:
parent
1dcc724e7b
commit
e549f416e8
|
|
@ -8,6 +8,7 @@ PyHamtools 0.8.7
|
|||
|
||||
* Lookuplib/Countryfiles: corrected Brazil to ADIF country id 108
|
||||
* Lookuplib/Countryfiles: corrected Domenican Republic to ADIF country if 72
|
||||
* Changed the remaining Clublog URLs to https://cdn.clublog.org
|
||||
|
||||
PyHamtools 0.8.6
|
||||
================
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ with some modules and classes which are frequently needed:
|
|||
PyHamTools is used in production at the DXHeat.com DXCluster_, performing several thousand lookups and
|
||||
calculations per day.
|
||||
|
||||
.. _Clublog.org: https://secure.clublog.org/
|
||||
.. _Clublog.org: https://clublog.org/
|
||||
.. _Country-Files.com: http://www.country-files.com/
|
||||
.. _QRZ.com: http://qrz.com
|
||||
.. _eQSL: http://eqsl.cc
|
||||
|
|
|
|||
|
|
@ -689,7 +689,7 @@ class LookupLib(object):
|
|||
#no matching case
|
||||
raise KeyError
|
||||
|
||||
def _lookup_clublogAPI(self, callsign=None, timestamp=None, url="https://secure.clublog.org/dxcc", apikey=None):
|
||||
def _lookup_clublogAPI(self, callsign=None, timestamp=None, url="https://cdn.clublog.org/dxcc", apikey=None):
|
||||
""" Set up the Lookup object for Clublog Online API
|
||||
"""
|
||||
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ def get_clublog_users(**kwargs):
|
|||
'lastupload': datetime.datetime(2013, 5, 8, 15, 0, 6),
|
||||
'oqrs': True}
|
||||
|
||||
.. _CLUBLOG: https://secure.clublog.org
|
||||
.. _CLUBLOG: https://clublog.org
|
||||
__ CLUBLOG_
|
||||
|
||||
"""
|
||||
|
|
@ -106,7 +106,7 @@ def get_clublog_users(**kwargs):
|
|||
try:
|
||||
url = kwargs['url']
|
||||
except KeyError:
|
||||
url = "https://secure.clublog.org/clublog-users.json.zip"
|
||||
url = "https://cdn.clublog.org/clublog-users.json.zip"
|
||||
|
||||
try:
|
||||
result = requests.get(url)
|
||||
|
|
|
|||
Loading…
Reference in a new issue