V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
deepall
V2EX  ›  Python

scrapy-redis 如何实现 post 请求

  •  
  •   deepall · Mar 14, 2019 · 2947 views
    This topic created in 2615 days ago, the information mentioned may be changed or developed.
    scrapy 可以通过重写 start_requests 方法实现 post 请求,请问 scrapy-redis 如何实现
    Supplement 1  ·  Mar 18, 2019
    416828817,有解决办法者可联系此 QQ,有偿
    4 replies    2019-12-03 12:14:44 +08:00
    adrianyoung
        1
    adrianyoung  
       Mar 19, 2019
    FormRequest 不起作用吗
    wuyue92tree
        2
    wuyue92tree  
       Mar 22, 2019
    data = {
    'username': 'user',
    'password': 'pwd'
    }

    req = scrapy.Request(url=url, method='POST',
    body=data,
    headers=self.headers)
    gitopen
        3
    gitopen  
       Nov 30, 2019
    楼主说的是用 scrapy-redis 时,怎么发 POST 请求,最近遇到这个问题,已经解决😊
    deepall
        4
    deepall  
    OP
       Dec 3, 2019
    @gitopen 我也解决了,开心
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4913 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 09:53 · PVG 17:53 · LAX 02:53 · JFK 05:53
    ♥ Do have faith in what you're doing.