Git Product home page Git Product logo

beian_miit_spider's Introduction

一个很水的备案查询的爬虫

写在前面

image

备案查询是资产收集中很重要的一步,能自动化就美滋滋,这里验证码识别服务搭建在自己的服务器上,大佬们不要hack, 验证码的识别率达到90%已经,用起来基本没啥问题

验证码训练参考:https://github.com/kerlomz/captcha_trainer

验证码部署参考:https://github.com/kerlomz/captcha_platform

使用说明

建议在py3环境下食用

pip install -r requirements.txt

image

有大佬有兴趣可以自己打个pip包,用起来更方便,欢迎提issue

2020.11.13 适配

这个备案查询网站改版了,验证码变成滑动的了,不过又开放了一个APP产品,这个app虽然也有验证码, 不过有bug,可以绕过

image

使用方式

python3 beian.py --help

python3 beian.py --comp=**铁路上海局集团有限公司
or
python3 beian.py --mode=file --comp_f_path=test.txt

python3 beian.py --mode=host --host=16816888.com

beian_miit_spider's People

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.