update HKO calendar url

Thank cjcm567 for reporting this issue.
This commit is contained in:
Wei Chen
2020-02-21 15:47:58 -06:00
parent 5063eeda20
commit 870d25e0e4

View File

@@ -31,7 +31,7 @@ DB_FILE = os.path.join(APPDIR, 'db', 'lunarcal.sqlite')
RE_CAL = re.compile(u'(\d{4})年(\d{1,2})月(\d{1,2})日') RE_CAL = re.compile(u'(\d{4})年(\d{1,2})月(\d{1,2})日')
#PROXY = {'http': 'http://localhost:8001'} #PROXY = {'http': 'http://localhost:8001'}
PROXY = None PROXY = None
URL = 'http://data.weather.gov.hk/gts/time/calendar/text/T%dc.txt' URL = 'https://www.hko.gov.hk/tc/gts/time/calendar/text/files/T%dc.txt'
OUTPUT = os.path.join(APPDIR, 'chinese_lunar_%s_%s.ics') OUTPUT = os.path.join(APPDIR, 'chinese_lunar_%s_%s.ics')
OUTPUT_JIEQI = os.path.join(APPDIR, 'jieqi_tch_%s_%s.ics') OUTPUT_JIEQI = os.path.join(APPDIR, 'jieqi_tch_%s_%s.ics')