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

请教爬取裁判文书网的搜索信息,有没有现成的轮子呢?

  •  
  •   sjmcefc2 · May 7, 2018 · 3750 views
    This topic created in 2957 days ago, the information mentioned may be changed or developed.

    http://wenshu.court.gov.cn/ 想爬取搜索结果的统计信息,比如,搜索一个关键词,抓取左侧的年份,地域,案由筛选等等信息。 看了一些资料,反扒措施貌似很多,这样的需求应该不至于触发反扒措施吧

    6 replies    2018-05-07 18:51:01 +08:00
    sjmcefc2
        2
    sjmcefc2  
    OP
       May 7, 2018
    @18817837227 非常感谢哈。
    有没有简单成型的,目前不需要爬下文档,只要个搜索之后的左边的统计信息就好了
    18817837227
        3
    18817837227  
       May 7, 2018
    github 上有很多写好的爬虫,试试能不能用?
    sjmcefc2
        4
    sjmcefc2  
    OP
       May 7, 2018
    @18817837227 ok,话说,如果爬上面的文档,用什么数据库存储比较好?
    18817837227
        5
    18817837227  
       May 7, 2018
    个人爬,量不多就一个表,就 mysql 呗。
    用别人的代码,那就看代码用的是哪个库就用那个
    jssyxzy
        6
    jssyxzy  
       May 7, 2018
    python/scrapy
    文件或者上数据库
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   997 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 22:29 · PVG 06:29 · LAX 15:29 · JFK 18:29
    ♥ Do have faith in what you're doing.