{"id":18524891,"url":"https://github.com/xishandong/music_player","last_synced_at":"2025-09-12T19:40:15.279Z","repository":{"id":169686520,"uuid":"603051520","full_name":"xishandong/music_player","owner":"xishandong","description":"基于tkinter的音乐播放器","archived":false,"fork":false,"pushed_at":"2023-09-24T06:56:22.000Z","size":5343,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T05:34:48.917Z","etag":null,"topics":["python-crawler","tkinter","tkinter-python","wangyiyunmusic"],"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/xishandong.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}},"created_at":"2023-02-17T14:16:44.000Z","updated_at":"2024-12-27T19:33:31.000Z","dependencies_parsed_at":"2024-11-06T17:47:54.406Z","dependency_job_id":"6cf6a091-31e9-4fff-8b63-46163cb229c3","html_url":"https://github.com/xishandong/music_player","commit_stats":null,"previous_names":["xishandong/music_player"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xishandong%2Fmusic_player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xishandong%2Fmusic_player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xishandong%2Fmusic_player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xishandong%2Fmusic_player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xishandong","download_url":"https://codeload.github.com/xishandong/music_player/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248040116,"owners_count":21037816,"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":["python-crawler","tkinter","tkinter-python","wangyiyunmusic"],"created_at":"2024-11-06T17:43:39.885Z","updated_at":"2025-04-09T12:30:56.811Z","avatar_url":"https://github.com/xishandong.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Title\n\n***\n\n基于tkinter的可视化界面，音乐内容为爬虫爬取，包含酷我音乐和网易云音乐的api\n\n# Install\n\n***\n\n    需要nodejs环境，来调用js代码，网易云的资源需要逆向获取\n    npm install crypto\n    npm install jsdom\n    pip install requests\n    pip install moviepy\n    pip install eyed3\n    pip indtsll tkinter\n    pip indtsll pygame\n    现在安装包已经安装好crypto和jsdom环境，只需要在电脑上安装有nodejs即可\n\n# Useage\n\n\u003e 如果发现无法使用，检查一下是不是爬虫代码出现问题了，如果爬虫代码没有返回数据是会闪退的\n\n***\n\n环境配置好后，运行main.py即可出现可视化界面\n\n选择好接口之后点击搜索即可展示歌曲信息，单击歌曲会出现歌词以及评论信息，双击可以下载歌曲\n\n下方播放按钮单击播放歌曲，会先下载到本地进行播放\n\n进度条可以拖动选择播放事件\n\n如果没有nodejs环境，只能运行酷我的接口，不能运行网易云的接口\n\n# Run\n\n***\n![image](https://user-images.githubusercontent.com/100206449/219686284-d8dbe446-59f1-4cc8-bdca-d961c3c23f91.png)\n![image](https://user-images.githubusercontent.com/100206449/219686324-61f80988-7175-48cd-ba56-6e03c781e342.png)\n![image](https://user-images.githubusercontent.com/100206449/219686382-8061ec40-f4c3-4a7f-9f69-f91439c2b433.png)\n\u003c/br\u003e演示播放付费购买专辑歌曲\u003c/br\u003e\n![image](https://user-images.githubusercontent.com/100206449/219686598-fbeace3c-d7cc-4caa-aedf-2ca5c5c5bd95.png)\n\n# 注意\n\n***\n网易云歌曲因为音频头增加了一段cover，所以无法通过pygame播放，处理方法使用moviepy，下载的时候下载成MP4格式\n\u003c/br\u003e然后转化为MP3播放。\n\u003c/br\u003e如果没有再Wangyi.py中增加vip账户cookie，但是这首歌有mv也可以得到MP3音频\n\u003c/br\u003e由于使用了爬虫，请大家遵守网络安全，合法使用\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxishandong%2Fmusic_player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxishandong%2Fmusic_player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxishandong%2Fmusic_player/lists"}