English (United Kingdom) | 中文(简体,中国)
Weibo Emoji Update Checker uses the emotions
API officially provided by Weibo to retrieve and store a list of Weibo's Emoji image info in a JSON data file. The file is essential and processed to help generate a new release.
May I have your attention pls? 🔥
By 11 March 2023, everything looks good with Visual Studio Code (Version: 1.76.1) + Python 3.9. The primary packages of the update checker are listed in the following table. For more info, please refer to requirements.txt
under the update checker's src
directory.
Name | Version |
---|---|
onepush | 1.2.0 |
python-dotenv | 1.0.0 |
You could manually create a file named .env
under the update checker's root directory and contain the following content. Please note that it is optional, and that the update checker should work well without it.
# Set the following environment variables to allow sending messages to your Telegram bot.
TG_BOT_TOKEN=<your Telegram bot token>
TG_USER_ID=<your Telegram user ID>
WB_ACCESS_TOKEN=<your Weibo API access token> # Set this environment variable to allow retrieving data from Weibo API.
You may find the following links useful.
If all configurations are in place, the script updater.py
can be executed successfully to generate/update the JSON data file as per the search results.
The update checker is designed to deploy on the Aliyun FC to check dialy if any update is available for the stock list. Please note that the package python-dotenv
is not required in this case, and you need to configure the environment variables in your function configurations. You can refer to requirements_fc.txt
to install packages via the online IDE using the following command.
pip3 install -r requirements_fc.txt -t .
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )