ddddocr,feapder爬虫框架

ddddocr

1、镜像安装:pip install ddddocr -i https://pypi.tuna.tsinghua.edu.cn/simple

 

 

 2. demo调用

def parse_captcha(filepath: str) -> str:
    ocr = ddddocr.DdddOcr()
    with open(filepath, 'rb') as f:
        image = f.read()
    res = ocr.classification(image)
    return res

feapder框架

爬虫框架feapder可快速一键接入,快速开启爬虫之旅:https://github.com/Boris-code/feapder

使用示例:https://zhuanlan.zhihu.com/p/358481087

 

爬虫框架feapder可快速一键接入,快速开启爬虫之旅:https://github.com/Boris-code/feapder
posted @ 2022-05-25 19:54  清风_Z  阅读(241)  评论(0编辑  收藏  举报