updated clublog url to cdn.clublog.org in multiple places

This commit is contained in:
Tobias Wellnitz, DH1TW 2022-12-31 02:50:24 +01:00
parent 1dcc724e7b
commit e549f416e8
4 changed files with 5 additions and 4 deletions

View file

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

View file

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

View file

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

View file

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