Code Monkey home page Code Monkey logo

wenshu_utils's Introduction

裁判文书相关解析/解密工具

开源自己之前爬文书写的相关工具
截止到2019.04.30, 文书网现存的反爬参数基本都能在这找到
除了RunEval和wzws_cid的解析依赖nodejs, 其他参数均用Python实现

环境

  1. python3.6+(如果低于3.6会报错, 例: f-string特性. 如有需要请自行修改兼容其他版本python)
  2. 安装requirements.txt
  3. nodejs(外部依赖)

使用方法

参考demo.py 或 tests/里的测试用例

测试

手动运行tests/里的测试用例

通过pytest测试

pip install pytest
pytest

通过docker构建测试

docker build -t wenshu_utils .  # 构建镜像
docker run --rm wenshu_utils    # 运行

wenshu_utils's People

Contributors

songguoxiong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.