|
12 | 12 |
|
13 | 13 |
|
14 | 14 | ALL_VARIANTS = set(('shogi', 'xiangqi', 'janggi', 'makruk')) |
15 | | -FESA_URL = 'http://fesashogi.eu/index.php?mid=2' |
| 15 | +FESA_URL = 'https://fesashogi.eu/calendar/' |
16 | 16 | DXB_URL = 'http://chinaschach.de/blog/events/list/?ical=1' |
17 | 17 | FFS_URL = 'https://shogi.fr/events/liste/?ical=1' |
18 | 18 | SNK_URL = 'https://shogi.es/calendario/lista/?ical=1' |
@@ -61,6 +61,7 @@ def get_ics_calendar(url, columns, variants): |
61 | 61 |
|
62 | 62 |
|
63 | 63 | def get_html_calendar(url, columns): |
| 64 | + # TODO: rewrite for new website |
64 | 65 | html = get_content(url) |
65 | 66 | df_list = pd.read_html(html, flavor='lxml') |
66 | 67 | assert len(df_list) == 1 |
@@ -118,7 +119,7 @@ def prettify_location(locations): |
118 | 119 | get_ics_calendar(DXB_URL, current.columns, ('xiangqi',)), |
119 | 120 | get_ics_calendar(FFS_URL, current.columns, ('shogi',)), |
120 | 121 | get_ics_calendar(SNK_URL, current.columns, ('shogi',)), |
121 | | - get_html_calendar(FESA_URL, current.columns), |
| 122 | + #get_html_calendar(FESA_URL, current.columns), |
122 | 123 | ]) |
123 | 124 | merged = pd.concat(calendars) |
124 | 125 | # try to remove street names, zip codes, and redundancy in location |
|
0 commit comments