不忘初心1020 发表于 2021-1-24 21:40:46

技术杠杠的

0.0i0.0 发表于 2021-1-24 22:55:01

666

nikita001 发表于 2021-1-25 11:18:42

学习~~

scamye 发表于 2021-2-2 21:12:43

{:10_275:}

HC1花城 发表于 2021-2-3 15:26:35

123123

拼老命搬砖 发表于 2021-2-5 10:25:18

6

3533050047 发表于 2021-2-5 14:06:28

{:10_285:}

天逸影 发表于 2021-2-5 14:55:33

666

徐家阿文 发表于 2021-2-9 15:51:26

{:10_256:}

徐家阿文 发表于 2021-2-9 15:56:11

97766819 发表于 2020-5-3 09:31
我还以为没人会回复= = 测试的咋样啊!

multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "E:\Anaconda\lib\multiprocessing\pool.py", line 121, in worker
    result = (True, func(*args, **kwds))
File "E:\Anaconda\lib\multiprocessing\pool.py", line 44, in mapstar
    return list(map(*args))
File "E:\Python\wenxin\meizi.py", line 50, in down
    img_data = requests.get(url=src, headers=headers).content
File "E:\Anaconda\lib\site-packages\requests\api.py", line 72, in get
    return request('get', url, params=params, **kwargs)
File "E:\Anaconda\lib\site-packages\requests\api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
File "E:\Anaconda\lib\site-packages\requests\sessions.py", line 512, in request
    resp = self.send(prep, **send_kwargs)
File "E:\Anaconda\lib\site-packages\requests\sessions.py", line 644, in send
    history = if allow_redirects else []
File "E:\Anaconda\lib\site-packages\requests\sessions.py", line 644, in <listcomp>
    history = if allow_redirects else []
File "E:\Anaconda\lib\site-packages\requests\sessions.py", line 140, in resolve_redirects
    raise TooManyRedirects('Exceeded %s redirects.' % self.max_redirects, response=resp)
requests.exceptions.TooManyRedirects: Exceeded 30 redirects.
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "E:/Python/wenxin/meizi.py", line 95, in <module>
    downmulticore(img_addrs)# 多进程下载所有图片
File "E:/Python/wenxin/meizi.py", line 63, in downmulticore
    pool.map(down, (img_addrs,))
File "E:\Anaconda\lib\multiprocessing\pool.py", line 268, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
File "E:\Anaconda\lib\multiprocessing\pool.py", line 657, in get
    raise self._value
requests.exceptions.TooManyRedirects: Exceeded 30 redirects.

徐家阿文 发表于 2021-2-9 15:59:37

徐家阿文 发表于 2021-2-9 15:56
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):


是我的电脑里还缺什么插件吗?

yayc_zcyd 发表于 2021-2-16 14:30:30

{:10_257:}{:10_257:}{:10_257:}{:10_257:}

花椒鱼 发表于 2021-2-22 15:33:52

康康

上官沉鱼 发表于 2021-2-22 17:58:24

{:10_254:}

cliff_cyl 发表于 2021-2-22 18:40:19

kk

胖虎的编程 发表于 2021-2-24 17:22:02

啊啊啊

lokelike233 发表于 2021-2-24 20:57:36

1

gujianwu 发表于 2021-2-25 13:59:04

谢谢,楼主分享

最好依恋 发表于 2021-2-26 22:28:13

6

Theobroma 发表于 2021-2-27 13:41:57

学习
页: 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16
查看完整版本: 新手写了一个妹子图爬虫!(多进程)