mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-06-11 23:16:54 +00:00
add tone level for ja word
This commit is contained in:
@@ -23,7 +23,7 @@ def ctx(category=''):
|
||||
if category == 'ja':
|
||||
url = 'https://raw.githubusercontent.com/hillerliao/img/main/words.csv'
|
||||
res = get_csv_line(url)
|
||||
word = f"{res[1]} 〔{res[2]}〕 {res[3]} "
|
||||
word = f"{res[1]} 〔{res[2]} {res[4]}〕 {res[3]} "
|
||||
else:
|
||||
file = path.join(file_path,'toeflwords.txt')
|
||||
with open(file, encoding='utf-8') as inf:
|
||||
|
||||
Reference in New Issue
Block a user