shmetro-traffic-enquiry
shmetro-traffic-enquiry
Shanghai Metro daily traffic checker
上海地铁每日客流查询器
For querying Shanghai Metro daily traffic data. The data is sourced from official Weibo posts.
可用于查询上海地铁每日的客流数据。数据来源于官方微博发布的信息。
Shanghai Metro’s daily traffic data is typically released the following day via its official Weibo account. This project scrapes and parses the latest updates from the Official Shanghai Metro Weibo (UID: 1742987497) to extract traffic information for a specified date.
上海地铁每日客流数据通常会在次日通过官方微博发布。本项目通过抓取并解析上海地铁官方微博(UID: 1742987497)发布的最新动态,提取出指定日期的客流信息。
Features
功能
- Query Yesterday’s Traffic: Get the total Shanghai Metro traffic data for the previous day
查询昨日客流:获取前一天的上海地铁总客流数据 - Query Traffic on Specific Date: Supports querying traffic data for any historical date (as long as it’s recorded on Weibo)
查询指定日期客流:支持查询任意历史日期的客流数据(只要微博有记录) - API Connection Test: Provides a test function to verify the connection to the Weibo API
API 连接测试:提供测试功能,验证与微博 API 的连接是否正常 - Various error handling mechanisms and automatic retry mechanisms
各类错误处理机制以及自动重试机制
Accessing
访问
This project has been open-sourced on GitHub.
本项目已在 GitHub 上开源。
🔗 shmetro-traffic-enquiry on GitHubFound an issue, bug, or want to make a suggestion?
发现问题、bug,或希望提出建议?
Please report in the “Issues” section of this GitHub project:
请您在本 GitHub 项目的 “Issues” 区内提出:
- Click “New issue”.
点击 “New issue”。 - Write a title and description as required.
按要求撰写标题(title)和描述(description)。 - Click “Create”. You can also press Ctrl + Enter on Windows PC or ⌘ ⏎ on Mac.
点击 “Create”。您也可以在 Windows 电脑上按下 Ctrl + Enter 或在 Mac 上按下 ⌘ ⏎。
References
引用
上海地铁shmetro. (2025, July 11). 【地铁网络客流】[Weibo post]. Weibo. https://weibo.com/1742987497
Unless otherwise stated, all posts from WaterCoFire are licensed under:
WaterCoFire 的所有内容分享除特别声明外,均采用本许可协议:
CC BY-NC-SA 4.0
Reprint with credit to this source, thanks!
转载请注明本来源,谢谢喵!