Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Ithrael/beian_miit_spider
一个工业和信息化部ICP备案查询的爬虫
https://github.com/Ithrael/beian_miit_spider
Last synced: about 2 months ago
JSON representation
一个工业和信息化部ICP备案查询的爬虫
- Host: GitHub
- URL: https://github.com/Ithrael/beian_miit_spider
- Owner: Ithrael
- License: gpl-2.0
- Created: 2019-12-29T15:49:54.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T22:36:54.000Z (over 1 year ago)
- Last Synced: 2024-08-05T17:37:39.892Z (5 months ago)
- Language: Python
- Homepage:
- Size: 604 KB
- Stars: 100
- Watchers: 4
- Forks: 22
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - Ithrael/beian_miit_spider - 一个工业和信息化部ICP备案查询的爬虫 (Python)
README
## 一个很水的备案查询的爬虫
### 写在前面
![image](images/2.png)备案查询是资产收集中很重要的一步,能自动化就美滋滋,这里验证码识别服务搭建在自己的服务器上,大佬们不要hack,
验证码的识别率达到90%已经,用起来基本没啥问题验证码训练参考:https://github.com/kerlomz/captcha_trainer
验证码部署参考:https://github.com/kerlomz/captcha_platform
### 使用说明
建议在py3环境下食用`pip install -r requirements.txt`
![image](images/1.png)
有大佬有兴趣可以自己打个pip包,用起来更方便,欢迎提issue
### 2020.11.13 适配
这个备案查询网站改版了,验证码变成滑动的了,不过又开放了一个APP产品,这个app虽然也有验证码,
不过有bug,可以绕过![image](images/3.png)
#### 使用方式
```python
python3 beian.py --helppython3 beian.py --comp=中国铁路上海局集团有限公司
or
python3 beian.py --mode=file --comp_f_path=test.txtpython3 beian.py --mode=host --host=16816888.com
```