{"id":13414839,"url":"https://github.com/chengyumeng/spider163","last_synced_at":"2025-05-16T13:02:54.241Z","repository":{"id":50215346,"uuid":"85783150","full_name":"chengyumeng/spider163","owner":"chengyumeng","description":"抓取网易云音乐热门评论","archived":false,"fork":false,"pushed_at":"2022-12-08T00:34:51.000Z","size":14750,"stargazers_count":578,"open_issues_count":14,"forks_count":163,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-05-13T03:50:03.092Z","etag":null,"topics":["163","python","spider"],"latest_commit_sha":null,"homepage":"http://music.163.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chengyumeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-22T03:57:19.000Z","updated_at":"2025-01-26T13:07:09.000Z","dependencies_parsed_at":"2023-01-24T02:46:12.291Z","dependency_job_id":null,"html_url":"https://github.com/chengyumeng/spider163","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chengyumeng%2Fspider163","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chengyumeng%2Fspider163/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chengyumeng%2Fspider163/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chengyumeng%2Fspider163/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chengyumeng","download_url":"https://codeload.github.com/chengyumeng/spider163/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253870829,"owners_count":21976612,"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":["163","python","spider"],"created_at":"2024-07-30T21:00:37.728Z","updated_at":"2025-05-16T13:02:54.218Z","avatar_url":"https://github.com/chengyumeng.png","language":"Python","funding_links":[],"categories":["Crawler"],"sub_categories":[],"readme":" ![spider163 logo](https://github.com/Chengyumeng/spider163/blob/master/logo.jpeg)\n# spider163\n[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)][license] [![pyversions](https://img.shields.io/github/tag/Chengyumeng/Spider163.svg)][releases] [![pyversions](https://img.shields.io/pypi/pyversions/spider163.svg)][pyversions] [![Build Status](https://travis-ci.org/chengyumeng/spider163.svg?branch=master)][buildstatus]\n\n[license]: https://github.com/Chengyumeng/spider163/blob/master/LICENSE\n\n[releases]:https://github.com/Chengyumeng/spider163/releases\n\n[pyversions]:https://pypi.python.org/pypi/spider163\n\n[buildstatus]:https://travis-ci.org/chengyumeng/spider163\n\n###### GitHub上最易用的网易云音乐爬虫系统\n\n\n## 安装模块\n- 第一步：指定SPIDER163_PATH环境变量，缺省情况下为$HOME/spider163\n- 第二步：把默认配置文件spider163.conf拷贝到SPIDER163_PATH下，并配置数据库\n- 第三步：pip install spider163\n- spider163 --help\n\n## 历史文档\n- [不重要，2018年spider163发布的5个版本](https://mp.weixin.qq.com/s/pim5tYPHd0zBTKYQaijkbQ)\n- [Spider163同时支持python2.x和python3.x的演进之路](https://mp.weixin.qq.com/s/FFoD3gKM5touGVbvKebRlA)\n- [Spider163支持下载网易付费歌曲了](https://mp.weixin.qq.com/s/L8uvPV_CiAS6vcnaOaifJw)\n- [非重磅 | 网易云音乐爬虫Spider163更新v2.0](https://mp.weixin.qq.com/s?__biz=MzI2NTMxMDYxMg==\u0026mid=2247483955\u0026idx=1\u0026sn=c1d8a38b4929cb298fc6172cf894e641\u0026chksm=ea9e1ac8dde993de1d6095d000f289389ee92609bccebda3d2ebc88bfa1939eceb6b94cc3fce\u0026scene=38#wechat_redirect)\n- ...\n\n\n## 使用指南\n\n```console\n$ spider163 initdb\n$ # 根据配置文件的数据库信息自动创建数据库表，删除全部数据通过resetdb实现\n```\n```console\n$ spider163 resetdb\n$ # 重建相关数据库\n```\n```console\n$ spider163 updatedb\n$ # 根据时间重置过期数据重新抓取\n```\n```console\n$ spider163 classify\n$ # 获取已知曲风列表\n```\n```console\n$ spider163 playlist\n$ # 默认下载全部推荐歌单（1000+），也可以通过指定页码去下载（-p=1）,以及歌曲风格（--classify=小语种，默认为全部）\n```\n```console\n$ spider163 mp3 --playlist=2033391777\n$ # 默认下载指定歌单列表内的全部包含版权的歌曲\n```\n```console\n$ spider163 music\n$ # 默认下载10个歌单的歌曲数据，也可以通过指定循环大小（-c=2）来下载10 * c 个歌单内歌曲\n```\n```console\n$ spider163 comment\n$ # 默认根据数据库存储的未下载歌曲随机下载一首单曲的评论，也可以通过-c指定需要下载的单曲数量和-s强制指定歌曲id\n$ # spider163 comment -c 10 | spider163 comment -s 209115\n```\n```console\n$ spider163 lyric --count=10\n$ # 抓取10首音乐的歌词，可以通过制定歌曲ID抓取特定一首音乐（--song）\n```\n```console\n$ spider163 search -q=\"林依晨\"\n$ # 搜索功能（待完善，暂支持歌曲搜索）\n```\n```console\n$ spider163 get -s 209115\n$ # 阅读歌曲基本信息、歌词、热评\n```\n```console\n$ spider163 get --playlist 922064582\n$ # 获取歌单的基本信息、歌曲等\n```\n```console\n$ spider163 doc --playlist 922064582\n$ # 歌单/歌曲信息汇总成word文档\n```\n```console\n$ spider163 top50 --playlist 922064582 --username=xxx --password=xxx\n$ # 创建TOP 50 歌单\n```\n\n\n## TODO\n- [2018 Q2](https://github.com/Chengyumeng/spider163/blob/master/doc/2018.Q2.TODO.md)\n- [2018 Q1](https://github.com/Chengyumeng/spider163/blob/master/doc/2018.Q1.TODO.md)\n- [2017 Q4](https://github.com/Chengyumeng/spider163/blob/master/doc/2017.Q4.TODO.md)\n- ...\n\n# 欢迎关注微信公众账号：程天写代码\n![guojingcoooool](https://github.com/Chengyumeng/spider163/blob/master/wechat.jpeg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchengyumeng%2Fspider163","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchengyumeng%2Fspider163","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchengyumeng%2Fspider163/lists"}