{"id":19285991,"url":"https://github.com/chenjiandongx/hupulive","last_synced_at":"2025-07-10T02:33:31.525Z","repository":{"id":92058724,"uuid":"90511234","full_name":"chenjiandongx/HupuLive","owner":"chenjiandongx","description":"🏀 虎扑篮球直播命令行版","archived":false,"fork":false,"pushed_at":"2017-07-20T15:16:02.000Z","size":956,"stargazers_count":71,"open_issues_count":1,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-10T23:04:30.884Z","etag":null,"topics":["hupun","live","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chenjiandongx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-05-07T05:33:48.000Z","updated_at":"2024-10-12T09:07:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5e942e2-30c6-46af-a6b0-68de691bccd7","html_url":"https://github.com/chenjiandongx/HupuLive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjiandongx%2FHupuLive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjiandongx%2FHupuLive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjiandongx%2FHupuLive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjiandongx%2FHupuLive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenjiandongx","download_url":"https://codeload.github.com/chenjiandongx/HupuLive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjiandongx%2FHupuLive/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259166890,"owners_count":22815585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hupun","live","python"],"created_at":"2024-11-09T21:47:37.034Z","updated_at":"2025-06-10T23:04:36.205Z","avatar_url":"https://github.com/chenjiandongx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 虎扑篮球直播命令行版  \n\n作为一个加入虎扑快 700 天的 JRs，一直都是虎扑的铁粉。喜欢逛绿化街，喔不对，是步行街；喜欢看评论，搬好小板凳，欣赏段子手们的表演，前排偶尔还有出售瓜子和爆米花；喜欢虎扑的直播风格，幽默有趣，还能时不时蹦出金句，比如詹姆斯一个后撤步，后撤距离达到一个郭敬明。主播们都是被虎扑耽误了的作家，且节间中场还经常有福利图，需要定时补营养。毕竟随着身体一阵抽搐，整个帖子也就变得索然无味了。\n\n**所以，我有了一个大胆的想法**  \n\n平时也喜欢在命令行下折腾东西，虽然没钱用 Mac 不过 Windows/Linux 下的也不错阿。所以就想来个虎扑文字直播命令行版的，不过没有找到手机直播的数据，就只能将就找网页版的文字直播。有点可惜，因为发现网页版的直播语言太正式了，一点都不像我认识的虎扑，说好的我的三分剑，是地狱的火焰呢。 \n\n时不我待，来一个网易云的电音歌单配上一杯速溶咖啡  \n时间悄悄地在流逝，然后项目就写好了  \n\n### 测试环境\n* Windows 10\n* Python 3.5.2\n\n### 如何安装\n1. ``` git clone https://github.com/chenjiandongx/HupuLive.git ```\n2. ``` cd HupuLive ```  \n3. ``` pip install -r requirements.txt```\n3. ``` python setup.py install ```  \n\n### 使用指南  \n```hupu -h``` 或 ```hupu --help``` 能够查看如何使用，明细各项参数功能  \n\n![使用指南](https://github.com/chenjiandongx/HupuLive/blob/master/images/hupu-0.gif)  \n\n### 获取比赛直播场次  \n```hupu -l``` 或 ```hupu --list``` 查询当天比赛的直播的场次，结果返回比赛场次，包括对阵双方以及场次的序号  \n\n![获取比赛直播场次](https://github.com/chenjiandongx/HupuLive/blob/master/images/hupu-2.gif)  \n\n### 选取比赛开始直播  \n```hupu -w``` 或 ```hupu --watch``` 根据获得的场次序号来选择具体的比赛，比如这里的 0  \n\n![选取比赛开始直播](https://github.com/chenjiandongx/HupuLive/blob/master/images/hupu-3.gif)  \n\n对齐看起来很舒服有没有，强迫症的福音有没有！！！  \n如果不想看了可以按 Ctrl-C 来中断直播，或者直接关闭终端就行了  \n\n### 获取比赛统计数据  \n```hupu -d``` 或 ```hupu --data``` 根据获取的场次序号来选择具体比赛的统计数据  \n\n![获取比赛统计数据](https://github.com/chenjiandongx/HupuLive/blob/master/images/hupu-4.gif)  \n数据也是对齐的看起来也是很爽的有没有！！！  \n\n### 获取比赛赛后新闻\n```hupu -n``` 或 ```hupu --news``` 同样根据获取的场次序号来选择具体比赛的赛后新闻  \n\n![获取比赛赛后新闻](https://github.com/chenjiandongx/HupuLive/blob/master/images/hupu-5.gif)  \n\n### 获取近期比赛赛程\n```hupu -s``` 或 ```hupu --schedule``` 查看近七天的比赛赛程  \n\n![获取近期比赛赛程](https://github.com/chenjiandongx/HupuLive/blob/master/images/hupu-1.gif)\n\n### 如何卸载\n使用 ```pip uninstall HupuLive``` 卸载\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenjiandongx%2Fhupulive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenjiandongx%2Fhupulive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenjiandongx%2Fhupulive/lists"}