如何在Wing IDE中调试scrapy


用scrapy startproject YourProjectName 创建项目后,在项目根目录添加一个main.py文件,作为项目启动文件容:

from scrapy.cmdline import execute
execute()

然后单击main.py右键-->File Attribute-->Debug->Run Arugments 输 问题三 入命令参数 如何在Wing IDE中调试scrapy

scrapy中如何使用代理服务器


在main.py的File Attribute--Environment- Add to Project values
中添加 http_proxy=127.0.0.1:8081 (使用sougou浏览器做代理) 如何在Wing IDE中调试scrapy

转载于:https://my.oschina.net/cppblog/blog/11175

相关文章:

  • 2021-12-26
  • 2021-08-31
  • 2021-06-11
  • 2022-12-23
  • 2021-04-13
  • 2022-01-16
  • 2022-03-02
  • 2021-05-07
猜你喜欢
  • 2021-09-09
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2022-02-02
  • 2021-12-12
  • 2021-09-12
相关资源
相似解决方案