mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
update wordclouds url
This commit is contained in:
parent
ffb3b2d73e
commit
faf9ee159b
@ -78,7 +78,7 @@ async def draw_word_cloud(messages, config):
|
|||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
if not wordcloud_stopwords_dir.exists():
|
if not wordcloud_stopwords_dir.exists():
|
||||||
stopword_url = 'https://github.com/HibiKier/zhenxun_bot/blob/main/resources/text/wordcloud/stopwords.txt'
|
stopword_url = 'https://ghproxy.com/https://raw.githubusercontent.com/HibiKier/zhenxun_bot/main/resources/text/wordcloud/stopwords.txt'
|
||||||
try:
|
try:
|
||||||
await AsyncHttpx.download_file(stopword_url, wordcloud_stopwords_dir)
|
await AsyncHttpx.download_file(stopword_url, wordcloud_stopwords_dir)
|
||||||
except:
|
except:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user