luochana / toutiaoSpider

重复爬取今日头条首页(scrapy),获取首页所有新闻url,并将其对应的新闻爬取存入mysql
6 stars 3 forks source link

twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 10061: 由于目标计算机积极拒绝,无法连接。. #1

Open SeekPoint opened 5 years ago

SeekPoint commented 5 years ago

C:\ub16_prj\toutiaoSpider>scrapy crawl tt

DevTools listening on ws://127.0.0.1:63209/devtools/browser/03fef8be-c571-44e0-9472-ee8d6f727506 2019-03-27 01:50:35 [scrapy.core.scraper] ERROR: Error downloading <GET https://www.toutiao.com via http://localhost:8050/render.html> Traceback (most recent call last): File "c:\users\andyy\appdata\local\programs\python\python37\lib\site-packages\scrapy\core\downloader\middleware.py", line 43, in process_request defer.returnValue((yield download_func(request=request,spider=spider))) twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 10061: 由于目标计算机积极拒绝,无法连接。. 2019-03-27 01:54:02 [scrapy.core.scraper] ERROR: Error downloading <GET https://www.toutiao.com via http://localhost:8050/render.html> Traceback (most recent call last): File "c:\users\andyy\appdata\local\programs\python\python37\lib\site-packages\scrapy\core\downloader\middleware.py", line 43, in process_request defer.returnValue((yield download_func(request=request,spider=spider))) twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 10061: 由于目标计算机积极拒绝,无法连接。. 2019-03-27 01:54:06 [scrapy.core.scraper] ERROR: Error downloading <GET https://www.toutiao.com via http://localhost:8050/render.html> Traceback (most recent call last): File "c:\users\andyy\appdata\local\programs\python\python37\lib\site-packages\scrapy\core\downloader\middleware.py", line 43, in process_request defer.returnValue((yield download_func(request=request,spider=spider))) twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 10061: 由于目标计算机积极拒绝,无法连接。. 2019-03-27 01:54:10 [scrapy.core.scraper] ERROR: Error downloading <GET https://www.toutiao.com via http://localhost:8050/render.html>

luochana commented 5 years ago

Splash得到正确渲染了吗

luochana commented 5 years ago

看着就像Splash环境没配好

banyiluoyun commented 4 years ago

splash没有配置好