python - Pyspider url列表溢出 UnicodeError: label empty or too long
PHPz
PHPz 2017-04-18 09:57:00
0
1
1997

需要抓取url大概为12000个左右,Pyspider报错,

报错提示:
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or too long)

这该如何解决,我刚刚接触这个框架的爬虫,不是很了解,还有个问题是,这个框架可以通过python脚本来调用吗?

PHPz
PHPz

学习是最好的投资!

reply all(1)
洪涛

Crawler scripts are stored in the database by default and do not support direct script calls.
In addition, UnicodeError is obviously a coding error. You can post the specific error information

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template