Skip to content

Commit 80f3bc2

Browse files
committed
Temporarily skip FESA events
1 parent a2ac3df commit 80f3bc2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_scripts/update_tournaments.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
ALL_VARIANTS = set(('shogi', 'xiangqi', 'janggi', 'makruk'))
15-
FESA_URL = 'http://fesashogi.eu/index.php?mid=2'
15+
FESA_URL = 'https://fesashogi.eu/calendar/'
1616
DXB_URL = 'http://chinaschach.de/blog/events/list/?ical=1'
1717
FFS_URL = 'https://shogi.fr/events/liste/?ical=1'
1818
SNK_URL = 'https://shogi.es/calendario/lista/?ical=1'
@@ -61,6 +61,7 @@ def get_ics_calendar(url, columns, variants):
6161

6262

6363
def get_html_calendar(url, columns):
64+
# TODO: rewrite for new website
6465
html = get_content(url)
6566
df_list = pd.read_html(html, flavor='lxml')
6667
assert len(df_list) == 1
@@ -118,7 +119,7 @@ def prettify_location(locations):
118119
get_ics_calendar(DXB_URL, current.columns, ('xiangqi',)),
119120
get_ics_calendar(FFS_URL, current.columns, ('shogi',)),
120121
get_ics_calendar(SNK_URL, current.columns, ('shogi',)),
121-
get_html_calendar(FESA_URL, current.columns),
122+
#get_html_calendar(FESA_URL, current.columns),
122123
])
123124
merged = pd.concat(calendars)
124125
# try to remove street names, zip codes, and redundancy in location

0 commit comments

Comments
 (0)