Giter VIP home page Giter VIP logo

hunterapi's Introduction

HunterAPI

奇安信的网络空间测绘引擎 hunter 的 api 查询导出工具

写了一篇关于 各个网络空间检索平台之间的对比

使用说明

git clone github.com/akkuman/HunterApi
cd HunterApi
pip install -r requirements.txt
python main.py --apikey xxxx --start_page 1 --end_page 10 --page_size 100 --rule "title=\"北京\""

如果是 Windows 系统可以直接到 发布页面 进行下载使用

截图

帮助说明

> python main.py  -h

usage: main.py [-h] --apikey APIKEY [--start_page START_PAGE] [--end_page END_PAGE] [--page_size PAGE_SIZE] [--rule RULE] [--is-web {0,1}]

optional arguments:
  -h, --help            show this help message and exit
  --apikey APIKEY       hunter api key (default: None)
  --start_page START_PAGE
                        爬取开始页数 (default: 1)
  --end_page END_PAGE   爬取结束页数,默认为一直爬取,直至积分不够或者爬取完成 (default: None)
  --page_size PAGE_SIZE
                        每页爬取数量,最大为100 (default: 100)
  --rule RULE           搜索语法 (default: title="北京")
  --is_web {0,1}        是否为网站资产 (default: 1)
  --interval INTERVAL   每次请求api之间的时间间隔 (default: 3.0)

将会在同目录下生成sqlite3数据库文件,可以使用navicat、sqlitestudio等工具打开查看

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.