You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

244 lines
12 KiB

9 months ago
1 year ago
9 months ago
1 year ago
9 months ago
1 year ago
1 year ago
10 months ago
1 year ago
10 months ago
4 years ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. ## 欢迎宣传此工具/Welcome to promote this tool
  2. 本软件完全免费(商用除外),如果您觉得此工具不错,请您宣传给有需要的朋友,同时,也欢迎您轻轻点击此页面右上角**Star**按钮增加项目曝光度,谢谢!
  3. This software is completely free (except for commercial use). If you think this tool is good, please promote it to friends in need. At the same time, you are also welcome to click the **Star** button at the top right of this page to increase the exposure of the project. Thank you!
  4. # 易采集/EasySpider: Visual Code-Free Web Crawler
  5. 一个可视化浏览器自动化测试/数据采集/爬虫软件,可以使用图形化界面,无代码可视化的设计和执行任务。只需要在网页上选择自己想要操作的内容并根据提示框操作即可完成任务的设计和执行。同时软件还可以单独以命令行的方式进行执行,从而可以很方便的嵌入到其他系统中。
  6. A visual browser automation test/data collection/crawler software, which can be used to design and execute tasks in a code-free visual way. You only need to select the content you want to operate on the web page and follow the prompts to complete the design and execution of the task. At the same time, the software can also be executed separately in the command line, so that it can be easily embedded into other systems.
  7. ## 官方网站/Official Website
  8. 访问易采集官网:www.easyspider.cn
  9. Visit the official website of EasySpider: www.easyspider.net
  10. ### 示例1/Example 1
  11. (右键)选中一个大商品块 -> 软件自动检测到同类型商品块 -> 点击“选中全部”选项 -> 点击“选中子元素”选项 -> 点击“采集数据”选项,即可采集到所有商品的所有信息,并分成不同字段保存。
  12. (Right click) Select a large product block -> The software will automatically detect similar blocks -> Click the 'Select All' option -> Click the 'Select Child Elements' option -> Click the 'Collect Data' option, you can collect the information of all products, and will be saved by sub-field.
  13. ![animation_zh](media/animation_zh.gif)
  14. ### 示例2/Example 2
  15. (右键)选中一个商品标题,同类型标题会被自动匹配,点击“选中全部”选项 -> 点击“采集数据”选项,即可采集到所有商品的标题信息。
  16. 同时,选中全部后如果选择“循环点击每个元素”选项,即可自动打开每个商品的详情页,然后可以再继续设置采集详情页的信息。
  17. (Right Click) Select a product title, the same type of title will be automatically matched, click the 'Select All' option -> Click the 'Collect Data' option, you can collect the title information of all products.
  18. At the same time, if you select the 'Loop-click every element' option after selecting all, you can automatically open the details page of each product, and then can set to collect the information of the details page.
  19. ![animation_en](media/animation_en.gif)
  20. ### 更多特性/More Features
  21. 更多特性请翻到页面底部查看。
  22. More features please scroll to the bottom of this page to view.
  23. ## 下载易采集/Download EasySpider
  24. 进入 [Releases Page](https://github.com/NaiboWang/EasySpider/releases) 下载最新版本。如果下载速度慢,可以考虑中国境内下载地址:[中国境内下载地址](https://www.easyspider.cn/download.html)。
  25. Refer to the [Releases Page](https://github.com/NaiboWang/EasySpider/releases) to download the latest version of EasySpider.
  26. ## 支持作者/Support Author
  27. 易采集EasySpider是一款完全免费无广告的开源软件,软件开发和维护全靠作者用爱发电,因此您可以选择支持作者让作者有更多的热情和精力维护此软件,或者您使用了此软件进行了盈利,欢迎您通过下面的方式支持作者:
  28. 1. Github Sponsor:直接点击右侧**Sponsor**按钮赞助。
  29. 2. 支付宝账号:naibowang@foxmail.com,也可以扫描下方二维码。
  30. 3. 微信收款:扫描下方二维码。
  31. 4. PayPal账号:naibowang,也可以扫描下方二维码。
  32. You can support the author by clicking the **Sponsor** button at right side or pay via paypal: naibowang.
  33. ![QRCodes](media/QRCODES.png)
  34. ## 文档/Documentation
  35. 请点此进入[教程文档](https://github.com/NaiboWang/EasySpider/wiki),如有英文可暂时翻译一下,或看作者的[硕士毕业论文](Docs/%E9%9D%A2%E5%90%91WEB%E5%BA%94%E7%94%A8%E7%9A%84%E6%99%BA%E8%83%BD%E5%8C%96%E6%9C%8D%E5%8A%A1%E5%B0%81%E8%A3%85%E7%B3%BB%E7%BB%9F%E8%AE%BE%E8%AE%A1%E4%B8%8E%E5%AE%9E%E7%8E%B0.pdf)(主要看第三章和第五章)。
  36. Ebay样例博客:[https://blog.csdn.net/ihero/article/details/130805504](https://blog.csdn.net/ihero/article/details/130805504)。
  37. Documentation can be found from [GitHub Wiki](https://github.com/NaiboWang/EasySpider/wiki).
  38. ## 视频教程/Video Tutorials
  39. Bilibili/B站视频教程:
  40. [EasySpider介绍 - 中国地震台网采集案例](https://www.bilibili.com/video/BV1th411A7ey/)
  41. [设置页面向下滚动](https://www.bilibili.com/video/BV1G14y1o7Qa/)
  42. [如何无代码可视化的爬取需要登录才能爬的网站 - 知乎网站案例](https://www.bilibili.com/video/BV1BN411t71C/)
  43. [实战采集汽车网文章内容并下载文章内图片](https://www.bilibili.com/video/BV14u4y1x7S5/)
  44. [定时执行任务+选中子元素多种模式+将提取值作为变量输入](https://www.bilibili.com/video/BV1N94y1a7Lp/)
  45. [【重要】自定义条件判断之使用循环项内的JS命令返回值 - 第二弹](https://www.bilibili.com/video/BV18C4y1V7J7/)
  46. [流程图执行逻辑解析 - 58同城房源描述采集案例](https://www.bilibili.com/video/BV14N4y1o73Y/)
  47. [MacOS系统设计和执行eBay网站爬虫任务教程](https://www.bilibili.com/video/BV1E34y137fT/)
  48. [如何执行自己写的JS代码和系统代码 (自定义操作)](https://www.bilibili.com/video/BV1UH4y1f7BM/)
  49. [如何自定义循环和判断条件 - 第一弹](https://www.bilibili.com/video/BV18w411a77e/)
  50. [如何对元素和网页截图及命令行执行指南](https://www.bilibili.com/video/BV1ch4y1E7cn/)
  51. [OCR识别元素内容功能(常用于文字验证码)](https://www.bilibili.com/video/BV1GP411y7u4/)
  52. [如何爬需要输入验证码的网站](https://www.bilibili.com/video/BV1Rw411C7Hs/)
  53. [如何切换IP池和使用隧道IP - 打开详情页采集案例](https://www.bilibili.com/video/BV1zw411w7BN/)
  54. [如何同时执行多个任务(并行多开)](https://www.bilibili.com/video/BV1Dj411b77M/)
  55. [Python代码运算后的结果作为文本框的输入](https://www.bilibili.com/video/BV1kF411R7VJ/)
  56. [实例 - 反人类网站文章采集和代码调试](https://www.bilibili.com/video/BV1XH4y1Z78i/)
  57. [写入MySQL数据库教程](https://www.bilibili.com/video/BV1os4y1679S/)
  58. [Cloudflare等极端反爬网站如何爬取](https://www.bilibili.com/video/BV1Ph4y1E7R9/)
  59. Refer to [Youtube Playlist](https://youtube.com/playlist?list=PL0kEFEkWrT7mt9MUlEBV2DTo1QsaanUTp) to see the video tutorials of EasySpider.
  60. ## 样例任务/Sample Tasks
  61. 从本项目的[Examples](Examples)文件夹中下载样例任务,更名为大于0的数字,导入到EasySpider中的`tasks`文件夹中,然后在EasySpider中打开即可。
  62. Download sample tasks from the [Examples](Examples) folder of this project, rename them to numbers greater than 0, import them into the `tasks` folder in EasySpider, and then open them in EasySpider.
  63. ## 声明/Declaration
  64. 本软件仅供学习交流使用,**严禁使用软件进行任何违法违规的操作,如爬取不允许爬取的政府/军事机关网站等**。使用本软件所造成的**一切后果由使用者自负**,与作者本人无关,**作者不会承担任何责任**。
  65. This software is for learning and communication only. **It is strictly forbidden to use the software for any illegal operations, such as crawling government/military websites that are not allowed to be crawled.** All consequences caused by the use of this software are **at the user's own risk, and the author is not responsible for any consequences**.
  66. 对于政府和军事机关等网站的爬虫操作,**作者将不会进行任何答疑**,以免违反国家相关法律法规和政策。
  67. For the crawler operations of government and military websites, **the author will not answer any questions** in order to avoid violating relevant national laws, regulations and policies.
  68. 同时,软件受到专利权保护,如要用于商业用途,如使用软件进行盈利接单,出售采集到的数据,或将软件集成到自己的系统中等,请邮件联系作者:naibowang@foxmail.com
  69. Meanwhile, the software is protected by patent rights. If it is used for commercial purposes, such as using the software to make profits, selling the collected data, or integrating the software into your own system, please contact the author by email: naibowang@foxmail.com
  70. <!-- [杭州天勤知识产权代理有限公司](http://www.tqip.com/)进行专利授权等付费操作。 -->
  71. <!-- At the same time, the software is protected by patent rights. If it is used for commercial purposes, such as using the software to make profits, selling the collected data, etc., please contact [Hangzhou Tianqin Intellectual Property Agency Co., Ltd.](http://www.tqip.com/) for patent authorization and other paid operations. -->
  72. ## 答疑QQ群
  73. 群号:**682921940**,建议通过Github提Issue的方式答疑,如果实在有需要才请加QQ群,因为群人数有上限。
  74. ## 出版物/Publications
  75. - This software has been accepted by The Web Conference (WWW) 2023 (中国计算机学会顶级会议,CCF A): [EasySpider: A No-Code Visual System for Crawling the Web](https://dl.acm.org/doi/abs/10.1145/3543873.3587345), April 2023.
  76. - 中国国家知识产权局发明专利,[一种自定义提取流程的服务封装系统](media/patent.png), 2022年5月。
  77. - [浙江大学硕士论文](https://d.wanfangdata.com.cn/thesis/Y3691829),[面向WEB应用的智能化服务封装系统设计与实现](Docs/%E9%9D%A2%E5%90%91WEB%E5%BA%94%E7%94%A8%E7%9A%84%E6%99%BA%E8%83%BD%E5%8C%96%E6%9C%8D%E5%8A%A1%E5%B0%81%E8%A3%85%E7%B3%BB%E7%BB%9F%E8%AE%BE%E8%AE%A1%E4%B8%8E%E5%AE%9E%E7%8E%B0.pdf),2020年6月。
  78. <!-- - See the [Copyright Declaration Page](https://github.com/NaiboWang/EasySpider/blob/master/media/readme_back.md) here.
  79. -->
  80. ## 编译说明/Compilation Instructions
  81. 查看[编译说明](ElectronJS/README.md)。
  82. Refer to [Compilation Instructions](ElectronJS/README.md).
  83. ## 支持特性/Supported Features
  84. ![pic](media/features_CN.png)
  85. ![pic](media/features_EN.png)
  86. ## 中文界面截图
  87. #### 软件界面示例
  88. ![pic](media/Picture.png)
  89. #### 块和子块及表单定义
  90. ![pic](media/Picture2.png)
  91. #### 已选中和待选择示例
  92. ![pic](media/Picture7.png)
  93. #### 京东商品块选择示例:
  94. ![pic](media/Picture1.png)
  95. #### 京东商品标题自动匹配选择示例
  96. ![pic](media/Picture5.png)
  97. #### 分块选择所有子元素示例
  98. ![pic](media/Picture6.png)
  99. #### 同类型元素自动和手动匹配示例
  100. ![pic](media/Picture8.png)
  101. #### 四种选择方式示例
  102. ![pic](media/Picture90.png)
  103. #### 输入文字示例
  104. ![pic](media/Picture10.png)
  105. #### 循环点击58同城房屋标题以进入详情页采集示例
  106. ![pic](media/Picture12.png)
  107. #### 采集元素文本示例
  108. ![pic](media/Picture14.png)
  109. #### 流程图界面介绍
  110. ![pic](media/Picture4.png)
  111. #### 循环选项示例
  112. ![pic](media/Picture9.png)
  113. #### 循环点击下一页示例
  114. ![pic](media/Picture11.png)
  115. #### 条件分支示例
  116. ![pic](media/Picture13.png)
  117. #### 完整采集流程图示例
  118. ![pic](media/Picture16.png)
  119. #### 完整采集流程图转换为常规流程图示例
  120. ![pic](media/Picture91.png)
  121. #### 服务信息示例
  122. ![pic](media/Picture15.png)
  123. #### 服务调用示例
  124. ![pic](media/Picture17.png)
  125. #### 58 同城房源信息采集服务部分采集结果展示
  126. ![pic](media/Picture18.png)
  127. <!-- ## Ethics Discussion
  128. Various fields can benefit from web crawlers due to their open access nature.
  129. Inevitably, there will be some risk of malicious use or data infringement issue, e.g., automatic order swiping and ticket grabbing, but this is contrary to our expectations. As a tool developer, we only hope that it can be used for legitimate purposes. We advocate the reasonable and legal utilization of our system, respecting and protecting the data security and privacy. -->