From f76cd8dd88b079c2754bf76a37ba1d73574ccd2e Mon Sep 17 00:00:00 2001 From: naibo Date: Fri, 19 May 2023 17:59:35 +0800 Subject: [PATCH] Version 0.3.0 Beta --- ExecuteStage/easyspider_executestage.py | 2 +- Readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ExecuteStage/easyspider_executestage.py b/ExecuteStage/easyspider_executestage.py index c7a47c1..54f74bc 100644 --- a/ExecuteStage/easyspider_executestage.py +++ b/ExecuteStage/easyspider_executestage.py @@ -691,7 +691,7 @@ def getData(para, loopElement, isInLoop=True, parentPath="", index=0): text = pytesseract.image_to_string(image, lang='chi_sim+eng') content = text except Exception as e: - content = "OCR失败" + content = "OCR Error" print("To use OCR, You need to install Tesseract-OCR and add it to the environment variable PATH: https://tesseract-ocr.github.io/tessdoc/Installation.html") print("要使用OCR识别功能,你需要安装Tesseract-OCR并将其添加到环境变量PATH中:https://blog.csdn.net/u010454030/article/details/80515501") elif p["contentType"] == 9: diff --git a/Readme.md b/Readme.md index 3eadf4c..832620f 100644 --- a/Readme.md +++ b/Readme.md @@ -53,7 +53,7 @@ Bilibili/B站视频教程: [如何爬需要输入验证码的网站](https://www.bilibili.com/video/BV18c411K7FH) -[如何切换IP池和使用隧道IP - 打开详情页采集案](https://www.bilibili.com/video/BV1KT411t79n) +[如何切换IP池和使用隧道IP - 打开详情页采集案例](https://www.bilibili.com/video/BV1KT411t79n) Refer to [Youtube Playlist](https://youtube.com/playlist?list=PL0kEFEkWrT7mt9MUlEBV2DTo1QsaanUTp) to see the video tutorials of EasySpider.