191820061 发表于 2019-11-13 18:19:11

看看

Crez.晔霖 发表于 2019-11-24 15:38:47

支持一下

mico酱 发表于 2019-11-24 17:08:56

学习

_2_ 发表于 2019-11-24 20:57:57

搞一下网易云的吧,琢磨一晚上也没发现音乐包含在哪个源文件里

我的兄弟不顺溜 发表于 2019-11-24 21:17:17

see see

登科 发表于 2019-11-24 21:44:27

学习下

1570843497 发表于 2019-11-27 02:14:43

1

海里很冷 发表于 2019-11-27 09:46:02

爬取测试一下

海里很冷 发表于 2019-11-27 09:54:43

爬取报错
请输入您想要下载的歌手:赵雷
Traceback (most recent call last):
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen
    chunked=chunked,
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 1321, in getresponse
    response.begin()
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 296, in begin
    version, status, reason = self._read_status()
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 257, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\socket.py", line 589, in readinto
    return self._sock.recv_into(b)
ConnectionResetError: 远程主机强迫关闭了一个现有的连接。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\adapters.py", line 449, in send
    timeout=timeout
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\util\retry.py", line 400, in increment
    raise six.reraise(type(error), error, _stacktrace)
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\packages\six.py", line 734, in reraise
    raise value.with_traceback(tb)
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen
    chunked=chunked,
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 421, in _make_request
    six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connectionpool.py", line 416, in _make_request
    httplib_response = conn.getresponse()
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 1321, in getresponse
    response.begin()
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 296, in begin
    version, status, reason = self._read_status()
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 257, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\socket.py", line 589, in readinto
    return self._sock.recv_into(b)
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Desktop\python学习\download_song.py", line 118, in <module>
    main()
File "D:\Desktop\python学习\download_song.py", line 115, in main
    get_list(detail_html,singer)
File "D:\Desktop\python学习\download_song.py", line 107, in get_list
    get_vkey(strMediaMid,songmid,songname,singer)
File "D:\Desktop\python学习\download_song.py", line 95, in get_vkey
    get_music(vkey,songname,'C400'+ strMediaMid + '.m4a',singer)
File "D:\Desktop\python学习\download_song.py", line 55, in get_music
    music = requests.get(url3,headers=headers).content
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
File "C:\Users\zhd\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))

waingrtn9331 发表于 2019-11-27 10:42:49

{:5_106:}

小李子- 发表于 2019-11-28 15:50:59

12

terryihm 发表于 2019-11-28 17:50:32

厉害了

Leehappy 发表于 2019-12-2 09:50:55

111

graceasyi 发表于 2019-12-2 15:00:36

太牛了吧

笨笨与逗比 发表于 2019-12-2 15:15:33

学习学习

人生_苦短 发表于 2019-12-3 22:25:49

这个可以,厉害啊

hotvpn 发表于 2019-12-3 23:24:58

高手

neseke 发表于 2019-12-4 10:35:58

学习了

零四丶 发表于 2019-12-4 14:52:03

学习

xxwoaini897 发表于 2019-12-4 15:03:35

xxxx
页: 10 11 12 13 14 15 16 17 18 19 [20] 21 22 23 24 25 26 27 28 29
查看完整版本: 爬取QQ音乐某位歌手的全部音乐