chengyumeng / spider163 Goto Github PK
View Code? Open in Web Editor NEW抓取网易云音乐热门评论
Home Page: http://music.163.com/
License: MIT License
抓取网易云音乐热门评论
Home Page: http://music.163.com/
License: MIT License
hi, 我看code里面setttings有设置账户密码,但是实际上在抓取comment的时候没有用到账号和密码,所以其实没有用到对么,,直接根据加密方式提交post?
显示如下:
[root@mmmm spider163]# spider163 mp3 --playlist 409933862
正在下载歌曲 爱情废柴-周杰伦.mp3
执行抓取任务遭遇配置异常: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?
Google了一下,也不知道怎么解决。
请问是什么原因?
谁发下window下的安装说明,试了几次都不成功
C:\WINDOWS\system32>spider163 --help
Traceback (most recent call last):
File "H:\python\Python27\Scripts\spider163-script.py", line 11, in
load_entry_point('spider163==2.5.4', 'console_scripts', 'spider163')()
File "h:\python\python27\lib\site-packages\pkg_resources_init_.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "h:\python\python27\lib\site-packages\pkg_resources_init_.py", line 2631, in load_entry_point
return ep.load()
File "h:\python\python27\lib\site-packages\pkg_resources_init_.py", line 2291, in load
return self.resolve()
File "h:\python\python27\lib\site-packages\pkg_resources_init_.py", line 2297, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "h:\python\python27\lib\site-packages\spider163\bin\cli.py", line 9, in
from spider163.utils import pysql
File "h:\python\python27\lib\site-packages\spider163\utils\pysql.py", line 10, in
from spider163 import settings
File "h:\python\python27\lib\site-packages\spider163\settings.py", line 5, in
from spider163.utils import config
File "h:\python\python27\lib\site-packages\spider163\utils\config.py", line 11, in
PATH = os.environ.get("HOME") + "/spider163"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
》》》》》 spider163.conf
[core]
db=mysql://root:985211yyg@localhost/Local?charset=utf8mb4
port=3306
》》》》》SPIDER163_PATH
H:\python\workspace\song163
比如 华语,流行 这两个风格一起选择
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/data/data/com.termux/files/usr/tmp/pip-build-mmjqcjfd/MySQL-python/setup.py", line 13, in <module>
from setup_posix import get_config
File "/data/data/com.termux/files/usr/tmp/pip-build-mmjqcjfd/MySQL-python/setup_posix.py", line 2, in <module>
from ConfigParser import SafeConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /data/data/com.termux/files/usr/tmp/pip-build-mmjqcjfd/MySQL-python/
你好!
想问下,为什么我使用这个命令的时候
python capture.py --module=music --config=spider163.conf --source=cmd --playlist=720308660
在日志中一直显示error 901?
INFO:root:Error 901 : http://music.163.com/playlist?id=720308660
谢谢
系统 centos7.5
环境 Python 2.7.5
版本 spider163 2.7.6
spider163 get -s 1311319824 --path /download/music --debug
2019-01-03 15:41:29,520 (DEBUG) cement.core.foundation : laying cement for the 'Spider163' application
2019-01-03 15:41:29,520 (DEBUG) cement.core.hook : defining hook 'pre_setup'
2019-01-03 15:41:29,520 (DEBUG) cement.core.hook : defining hook 'post_setup'
2019-01-03 15:41:29,520 (DEBUG) cement.core.hook : defining hook 'pre_run'
2019-01-03 15:41:29,520 (DEBUG) cement.core.hook : defining hook 'post_run'
2019-01-03 15:41:29,520 (DEBUG) cement.core.hook : defining hook 'pre_argument_parsing'
2019-01-03 15:41:29,520 (DEBUG) cement.core.hook : defining hook 'post_argument_parsing'
2019-01-03 15:41:29,520 (DEBUG) cement.core.hook : defining hook 'pre_close'
2019-01-03 15:41:29,520 (DEBUG) cement.core.hook : defining hook 'post_close'
2019-01-03 15:41:29,520 (DEBUG) cement.core.hook : defining hook 'signal'
2019-01-03 15:41:29,520 (DEBUG) cement.core.hook : defining hook 'pre_render'
2019-01-03 15:41:29,520 (DEBUG) cement.core.hook : defining hook 'post_render'
2019-01-03 15:41:29,520 (DEBUG) cement.core.hook : registering hook 'add_handler_override_options' from cement.core.foundation into hooks['post_setup']
2019-01-03 15:41:29,521 (DEBUG) cement.core.hook : registering hook 'handler_override' from cement.core.foundation into hooks['post_argument_parsing']
2019-01-03 15:41:29,521 (DEBUG) cement.core.handler : defining handler type 'extension' (IExtension)
2019-01-03 15:41:29,521 (DEBUG) cement.core.handler : defining handler type 'log' (ILog)
2019-01-03 15:41:29,521 (DEBUG) cement.core.handler : defining handler type 'config' (IConfig)
2019-01-03 15:41:29,521 (DEBUG) cement.core.handler : defining handler type 'mail' (IMail)
2019-01-03 15:41:29,521 (DEBUG) cement.core.handler : defining handler type 'plugin' (IPlugin)
2019-01-03 15:41:29,521 (DEBUG) cement.core.handler : defining handler type 'output' (IOutput)
2019-01-03 15:41:29,521 (DEBUG) cement.core.handler : defining handler type 'argument' (IArgument)
2019-01-03 15:41:29,521 (DEBUG) cement.core.handler : defining handler type 'controller' (IController)
2019-01-03 15:41:29,521 (DEBUG) cement.core.handler : defining handler type 'cache' (ICache)
2019-01-03 15:41:29,521 (DEBUG) cement.core.handler : registering handler '<class 'cement.core.extension.CementExtensionHandler'>' into handlers['extension']['cement']
2019-01-03 15:41:29,521 (DEBUG) cement.core.handler : registering handler '<class 'spider163.bin.cli.VersionController'>' into handlers['controller']['base']
2019-01-03 15:41:29,521 (DEBUG) cement.core.handler : registering handler '<class 'spider163.bin.cli.DatabaseController'>' into handlers['controller']['database']
2019-01-03 15:41:29,522 (DEBUG) cement.core.handler : registering handler '<class 'spider163.bin.cli.SpiderController'>' into handlers['controller']['spider']
2019-01-03 15:41:29,522 (DEBUG) cement.core.handler : registering handler '<class 'spider163.bin.cli.QueryController'>' into handlers['controller']['query']
2019-01-03 15:41:29,522 (DEBUG) cement.core.handler : registering handler '<class 'spider163.bin.cli.WebController'>' into handlers['controller']['web']
2019-01-03 15:41:29,522 (DEBUG) cement.core.handler : registering handler '<class 'spider163.bin.cli.AuthController'>' into handlers['controller']['auth']
2019-01-03 15:41:29,522 (DEBUG) cement.core.foundation : now setting up the 'Spider163' application
2019-01-03 15:41:29,522 (DEBUG) cement.core.foundation : setting up Spider163.extension handler
2019-01-03 15:41:29,522 (DEBUG) cement.core.extension : loading the 'cement.ext.ext_dummy' framework extension
2019-01-03 15:41:29,523 (DEBUG) cement.core.handler : registering handler '<class 'cement.ext.ext_dummy.DummyOutputHandler'>' into handlers['output']['dummy']
2019-01-03 15:41:29,523 (DEBUG) cement.core.handler : registering handler '<class 'cement.ext.ext_dummy.DummyMailHandler'>' into handlers['mail']['dummy']
2019-01-03 15:41:29,523 (DEBUG) cement.core.extension : loading the 'cement.ext.ext_smtp' framework extension
2019-01-03 15:41:29,526 (DEBUG) cement.core.handler : registering handler '<class 'cement.ext.ext_smtp.SMTPMailHandler'>' into handlers['mail']['smtp']
2019-01-03 15:41:29,526 (DEBUG) cement.core.extension : loading the 'cement.ext.ext_plugin' framework extension
2019-01-03 15:41:29,527 (DEBUG) cement.core.handler : registering handler '<class 'cement.ext.ext_plugin.CementPluginHandler'>' into handlers['plugin']['cement']
2019-01-03 15:41:29,527 (DEBUG) cement.core.extension : loading the 'cement.ext.ext_configparser' framework extension
2019-01-03 15:41:29,528 (DEBUG) cement.core.handler : registering handler '<class 'cement.ext.ext_configparser.ConfigParserConfigHandler'>' into handlers['config']['configparser']
2019-01-03 15:41:29,528 (DEBUG) cement.core.extension : loading the 'cement.ext.ext_logging' framework extension
2019-01-03 15:41:29,528 (DEBUG) cement.core.handler : registering handler '<class 'cement.ext.ext_logging.LoggingLogHandler'>' into handlers['log']['logging']
2019-01-03 15:41:29,528 (DEBUG) cement.core.extension : loading the 'cement.ext.ext_argparse' framework extension
2019-01-03 15:41:29,530 (DEBUG) cement.core.handler : registering handler '<class 'cement.ext.ext_argparse.ArgparseArgumentHandler'>' into handlers['argument']['argparse']
2019-01-03 15:41:29,530 (DEBUG) cement.core.foundation : adding signal handler <function cement_signal_handler at 0x7f233f892140> for signal 15
2019-01-03 15:41:29,530 (DEBUG) cement.core.foundation : adding signal handler <function cement_signal_handler at 0x7f233f892140> for signal 2
2019-01-03 15:41:29,530 (DEBUG) cement.core.foundation : adding signal handler <function cement_signal_handler at 0x7f233f892140> for signal 1
2019-01-03 15:41:29,530 (DEBUG) cement.core.foundation : setting up Spider163.config handler
2019-01-03 15:41:29,530 (DEBUG) cement.core.config : config file '/etc/Spider163/Spider163.conf' does not exist, skipping...
2019-01-03 15:41:29,531 (DEBUG) cement.core.config : config file '/root/.Spider163.conf' does not exist, skipping...
2019-01-03 15:41:29,531 (DEBUG) cement.core.config : config file '/root/.Spider163/config' does not exist, skipping...
2019-01-03 15:41:29,531 (DEBUG) cement.core.foundation : setting up Spider163.mail handler
2019-01-03 15:41:29,531 (DEBUG) cement.core.handler : merging config defaults from '<cement.ext.ext_dummy.DummyMailHandler object at 0x7f2338835a10>' into section 'mail.dummy'
2019-01-03 15:41:29,531 (DEBUG) cement.core.foundation : no cache handler defined, skipping.
2019-01-03 15:41:29,531 (DEBUG) cement.core.foundation : setting up Spider163.log handler
2019-01-03 15:41:29,531 (DEBUG) cement.core.handler : merging config defaults from '<cement.ext.ext_logging.LoggingLogHandler object at 0x7f2338835bd0>' into section 'log.logging'
2019-01-03 15:41:29,532 (DEBUG) cement.ext.ext_logging : logging initialized for 'Spider163' using LoggingLogHandler
2019-01-03 15:41:29,532 (DEBUG) cement.core.foundation : setting up Spider163.plugin handler
2019-01-03 15:41:29,532 (DEBUG) cement.ext.ext_plugin : plugin config dir /etc/Spider163/plugins.d does not exist.
2019-01-03 15:41:29,532 (DEBUG) cement.ext.ext_plugin : plugin config dir /root/.Spider163/plugins.d does not exist.
2019-01-03 15:41:29,532 (DEBUG) cement.core.foundation : setting up Spider163.arg handler
2019-01-03 15:41:29,533 (DEBUG) cement.core.foundation : setting up Spider163.output handler
2019-01-03 15:41:29,533 (DEBUG) cement.core.foundation : setting up application controllers
2019-01-03 15:41:29,534 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.VersionController object at 0x7f2338846310>' into section 'controller.base'
2019-01-03 15:41:29,534 (DEBUG) cement.core.hook : running hook 'post_setup' (<function add_handler_override_options at 0x7f233f892050>) from cement.core.foundation
2019-01-03 15:41:29,534 (DEBUG) cement.core.foundation : running pre_run hook
2019-01-03 15:41:29,534 (DEBUG) cement.core.controller : collecting arguments/commands for <spider163.bin.cli.VersionController object at 0x7f2338846310>
2019-01-03 15:41:29,534 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.WebController object at 0x7f23388463d0>' into section 'controller.web'
2019-01-03 15:41:29,534 (DEBUG) cement.core.controller : collecting arguments/commands for <spider163.bin.cli.WebController object at 0x7f23388463d0>
2019-01-03 15:41:29,534 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.DatabaseController object at 0x7f2338846450>' into section 'controller.database'
2019-01-03 15:41:29,535 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.SpiderController object at 0x7f2338846450>' into section 'controller.spider'
2019-01-03 15:41:29,535 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.AuthController object at 0x7f2338846450>' into section 'controller.auth'
2019-01-03 15:41:29,535 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.VersionController object at 0x7f2338846450>' into section 'controller.base'
2019-01-03 15:41:29,535 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.QueryController object at 0x7f2338846450>' into section 'controller.query'
2019-01-03 15:41:29,535 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.DatabaseController object at 0x7f2338846450>' into section 'controller.database'
2019-01-03 15:41:29,535 (DEBUG) cement.core.controller : collecting arguments/commands for <spider163.bin.cli.DatabaseController object at 0x7f2338846450>
2019-01-03 15:41:29,535 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.WebController object at 0x7f2338846490>' into section 'controller.web'
2019-01-03 15:41:29,535 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.SpiderController object at 0x7f2338846490>' into section 'controller.spider'
2019-01-03 15:41:29,536 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.AuthController object at 0x7f2338846490>' into section 'controller.auth'
2019-01-03 15:41:29,536 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.VersionController object at 0x7f2338846490>' into section 'controller.base'
2019-01-03 15:41:29,536 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.QueryController object at 0x7f2338846490>' into section 'controller.query'
2019-01-03 15:41:29,536 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.SpiderController object at 0x7f2338846490>' into section 'controller.spider'
2019-01-03 15:41:29,536 (DEBUG) cement.core.controller : collecting arguments/commands for <spider163.bin.cli.SpiderController object at 0x7f2338846490>
2019-01-03 15:41:29,536 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.WebController object at 0x7f2338846550>' into section 'controller.web'
2019-01-03 15:41:29,536 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.DatabaseController object at 0x7f2338846550>' into section 'controller.database'
2019-01-03 15:41:29,536 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.AuthController object at 0x7f2338846550>' into section 'controller.auth'
2019-01-03 15:41:29,537 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.VersionController object at 0x7f2338846550>' into section 'controller.base'
2019-01-03 15:41:29,537 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.QueryController object at 0x7f2338846550>' into section 'controller.query'
2019-01-03 15:41:29,537 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.AuthController object at 0x7f2338846550>' into section 'controller.auth'
2019-01-03 15:41:29,537 (DEBUG) cement.core.controller : collecting arguments/commands for <spider163.bin.cli.AuthController object at 0x7f2338846550>
2019-01-03 15:41:29,537 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.WebController object at 0x7f23388465d0>' into section 'controller.web'
2019-01-03 15:41:29,537 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.DatabaseController object at 0x7f23388465d0>' into section 'controller.database'
2019-01-03 15:41:29,537 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.SpiderController object at 0x7f23388465d0>' into section 'controller.spider'
2019-01-03 15:41:29,537 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.VersionController object at 0x7f23388465d0>' into section 'controller.base'
2019-01-03 15:41:29,537 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.QueryController object at 0x7f23388465d0>' into section 'controller.query'
2019-01-03 15:41:29,538 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.QueryController object at 0x7f23388465d0>' into section 'controller.query'
2019-01-03 15:41:29,538 (DEBUG) cement.core.controller : collecting arguments/commands for <spider163.bin.cli.QueryController object at 0x7f23388465d0>
2019-01-03 15:41:29,538 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.WebController object at 0x7f2338846650>' into section 'controller.web'
2019-01-03 15:41:29,538 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.DatabaseController object at 0x7f2338846650>' into section 'controller.database'
2019-01-03 15:41:29,538 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.SpiderController object at 0x7f2338846650>' into section 'controller.spider'
2019-01-03 15:41:29,538 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.AuthController object at 0x7f2338846650>' into section 'controller.auth'
2019-01-03 15:41:29,538 (DEBUG) cement.core.handler : merging config defaults from '<spider163.bin.cli.VersionController object at 0x7f2338846650>' into section 'controller.base'
2019-01-03 15:41:29,540 (DEBUG) cement.core.hook : running hook 'post_argument_parsing' (<function handler_override at 0x7f233f8920c8>) from cement.core.foundation
执行抓取任务遭遇配置异常: 'comments'
2019-01-03 15:41:31,600 (DEBUG) cement.core.foundation : closing the Spider163 application
[2019-01-03 07:49:19.775868] ERROR: : 解析歌曲评论的时候出现问题:'comments' 歌曲ID:1311319824 页码:1
评论获取只能获取前10条吗?不能获得全部的评论吗?
建议添加freeze文件自动搞定依赖。
要不然需要手动安装非常多的lib,而且也会有问题
比如Crypto库,
pip install Crypto 是错误的
pip install pycrpto 才是正确的。
cannot import name RLock
macOS系统,
python3,
无法使用pip,
项目已经clone下来了,然后要怎么操作呢?
谢谢。
自动生成数据库表出现问题: (_mysql_exceptions.ProgrammingError) (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'over VARCHAR(255) DEFAULT 'N', \n\tPRIMARY KEY (id)\n)' at line 8") [SQL: u"\nCREATE TABLE playlist163 (\n\tid INTEGER NOT NULL AUTO_INCREMENT, \n\ttitle VARCHAR(5000) DEFAULT 'System Title', \n\tlink VARCHAR(255) DEFAULT 'No Link', \n\tcnt INTEGER DEFAULT '-1', \n\tdsc VARCHAR(255) DEFAULT 'No Description', \n\tcreate_time TIMESTAMP NULL DEFAULT now(), \n\tover VARCHAR(255) DEFAULT 'N', \n\tPRIMARY KEY (id)\n)\n\n"]
使用 mysql 是可以的,请支持下 mariadb。
小白提问:在执行init.py出现错误,错误位置在:
File "C:\Users\SEZYUEN\Anaconda3\lib\configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
错误信息:
UnicodeDecodeError: 'gbk' codec can't decode byte 0xbf in position 2: illegal multibyte sequence
请问该如何解决?
抓取我的歌单的时候,出现了这个问题,不知道是什么意思,其他的歌单都没有问题,就这个歌单有问题。
spider163 get --playlist 127473345
执行抓取任务遭遇配置异常: 'NoneType' object has no attribute 'encode'
你好,
我之前也写过一个类似的爬取163的音乐评论。但是房到服务器上跑的时候不一会IP就被封了。后来用了代理但是速度太慢。
我看了您的代码但是没有找到在哪里进行的反爬虫机制。请问您是怎么进行反爬的问题的?
MP3下载过程中,报错就会停止下载。
这个报错可能原因:歌单中的歌曲要单曲购买(即使是会员也得买的),或者没有版权(界面显示为灰色)。
所以我建议:
1、报错的歌曲跳过,继续进行下一首下载。
2、下载之前显示歌单有多少首歌曲。下载完成后,能够统计成功下载的有多少,失败的有多少。
2.7.5版本刚更新的时间用的挺好,今天又用出现以下提示,不知是我配置的原因还是网易升级了反爬虫?
[li@localhost ~]$ sudo -i
[sudo] li 的密码:
[root@localhost ~]# spider163 mp3 --playlist=2048302032 --path ./mp3/
正在下载歌曲 卷珠帘-霍尊.mp3
正在下载歌曲 父亲的草原母亲的河-云飞.mp3
执行抓取任务遭遇配置异常: HTTPConnectionPool(host='m10.music.126.net', port=80): Max retries exceeded with url: /20180331093453/859760a1fc5dd33453fa3f5667f8c8fa/ymusic/de9e/8956/813e/e59af448d057c9d8cbacf29fa257bd78.mp3 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x4ac7810>: Failed to establish a new connection: [Errno 111] Connection refused',))
[root@localhost ~]#
1 执行抓取任务遭遇配置异常: HTTPConnectionPool(host='music.163.com', port=80): Max retries exceeded with url: /weapi/login/cellphone (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7ffadedb1dd0>, 'Connection to music.163.com timed out. (connect timeout=10)'))
2 Spider163: error: unrecognized arguments: --palylist=389354428
3 执行抓取任务遭遇配置异常: 'NoneType' object has no attribute 'getitem'这个是数据库的问题吗?
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
数据库中playlist163和music163怎么关联的呢??
有一个思路是获取自己听歌记录 然后从喜欢到歌曲评论里爬更多用户 获取他们的歌单匹配相似度
有时候想查看所有的评论或者是某个时间之后的所有评论,不知道是否可行。
这个能在DSM DOCKER里搭建吗?
spider163无法安装终端显示spider1632.4.11至2.7.6 depends on pprint==0.1是Python3.9.5
正在执行抓取歌曲 186016 热门评论计划
执行抓取任务遭遇配置异常: (_mysql_exceptions.ProgrammingError) (1146, "Table 'spider.comment163' doesn't exist") [SQL: u'DELETE FROM comment163 WHERE comment163.song_id = %s'] [parameters: (186016,)]
不知道可不可以手动解决,手动在mysql 中create table。 如果可以的话,table的column name和数据类型是什么。
macOS,
python3,
无法使用pip,
代码clone下来了,然后需要怎么操作?
我觉得网易云的年度报告太差了,不符合我的要求,我想获得自己月听歌记录,季度听歌记录,年听歌记录个总听歌记录之类,然后可以按自己喜欢的方面去做报告。
希望可能增加的功能的有,获得用户的听歌记录,raw data 包括听每一首歌的时间,歌手,专辑,歌词,风格等信息
进阶数据,做一个类似于网易云的总结,歌曲排行,专辑排行(专辑里面所有歌都应该至少被听过一遍,进阶有专辑里面歌曲排行),歌手排行(进阶有歌手里面歌曲排行),风格排行(进阶里面有同风格的歌曲排行),连续单曲循环排行(不能中断,又开始时间,结束时间),歌词排行(进阶可以看到歌词对应的歌曲)
万分感谢~(^__^) 嘻嘻……
执行 spider163 mp3 --playlist=2236351380 最后报错:
执行抓取任务遭遇配置异常: HTTPConnectionPool(host='music.163.com', port=80): Read timed out. (read timeout=10)
curl http://music.163.com:80 -v
GET / HTTP/1.1
Host: music.163.com
User-Agent: curl/7.47.0
Accept: /
< HTTP/1.1 302 Found
< Server: nginx
< Date: Mon, 27 Aug 2018 06:53:22 GMT
< Content-Length: 0
< Connection: keep-alive
< Cache-Control: no-store
< Pragrma: no-cache
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Cache-Control: no-cache
< Location: https://music.163.com/
< X-Via: MusicEdgeServer
< X-From-Src: 183.205.107.38
<
看起来网络正常,请问这怎么解决?
执行抓取任务遭遇配置异常:a bytes-like object is required, not 'str'
之前可以,最近用了一次突然不行了,请问是为什么呢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.