This skill fetches real-time hot search data directly from the Weibo official website by executing a Python script.
Usage
- Environment check: Ensure that
requestsandbeautifulsoup4。 - Run the fetch: Run the script included with the skill to fetch the data.
Command Reference
# 执行抓取脚本
python3 scripts/get_hot.py
Notes
- If the request is blocked (showing a visitor system prompt), you may need to update the
scripts/get_hot.pyinCookie。 - The script automatically filters out pinned advertisements and only displays the top 10 ranked entries.