推荐学习书目
› 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
spikeLIN
V2EX  ›  Python

天猫的反爬加强了?

  •  
  •   spikeLIN · Aug 26, 2016 · 5511 views
    This topic created in 3681 days ago, the information mentioned may be changed or developed.

    这两天突然发现很多都爬取不了,把失败的 url 丢进去一看,发现都需要登录才能浏览了.
    平时是自己弄了个代理池,每次爬都从代理池里面随机取代理爬的.
    这样都被反爬了还有什么好的方法吗?

    6 replies  •  2016-08-27 22:55:20 +08:00
    petelin
        1
    petelin  
       Aug 26, 2016 via Android
    登录进去拿到 session 就行了,又没说 session 和 IP 必须一匹配,不知道你什么意思。
    qianlifeng
        2
    qianlifeng  
       Aug 27, 2016
    我也发现了,还在想怎么弄
    ljcarsenal
        3
    ljcarsenal  
       Aug 27, 2016
    求教你们整天爬来爬去的有什么经济价值?
    bf68
        4
    bf68  
       Aug 27, 2016
    @ljcarsenal 同问
    mrcode
        5
    mrcode  
       Aug 27, 2016
    @petelin 登陆后拿到的是 token 吧。:smile:
    petelin
        6
    petelin  
       Aug 27, 2016 via Android
    @mrcode 想说 session id. 脑抽了,当时看到这个问题感觉很无聊,,,
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2508 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 12:13 · PVG 20:13 · LAX 05:13 · JFK 08:13
    ♥ Do have faith in what you're doing.