错误提示:
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
其实是我自己没设置好:
header 里面的host没设置好未要抓取的域名,改成要抓取页面对应的域名就好了
错误提示:
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
其实是我自己没设置好:
header 里面的host没设置好未要抓取的域名,改成要抓取页面对应的域名就好了