# 求助：網路辭典的爬取工具

**URL:** <https://forum.freemdict.com/t/topic/13853>\
**Category:** 资源求助\
**Tags:** 求助\
**Created:** [2022 年7 月 1 日 09:20 UTC](https://forum.freemdict.com/t/topic/13853 "2022-07-01T09:20:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

作者： ![Yuki](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/yuki/32/28733_2.png) [@Yuki](https://forum.freemdict.com/u/Yuki)\
发布日期： [2022 年7 月 1 日 09:21 UTC](https://forum.freemdict.com/t/topic/13853/1 "2022-07-01T09:21:00Z")

</div>

求助：網路辭典的爬取工具

我搜索了一下，發現有很多人推薦 [HTTrack](https://www.httrack.com/) 爬取網站

不過或許是技術太老，最近幾個網站資源都爬不全

求推薦比 HTTrack 更好用的爬取工具

---

<div class="post-metadata">

作者： ![shaoshi](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/shaoshi/32/14529_2.png) [@shaoshi](https://forum.freemdict.com/u/shaoshi)\
发布日期： [2022 年7 月 1 日 09:37 UTC](https://forum.freemdict.com/t/topic/13853/3 "2022-07-01T09:37:12Z")

</div>

先声明，我不内行。

你可以参考以下帖子所介绍的软件：

httrack wget curl scrape & fetch

> <https://stackoverflow.com/questions/19098315/httrack-wget-curl-scrape-fetch>

Mirroring websites using wget, httrack, curl

> **[Mirroring websites using wget, httrack, curl](https://gurjitmehta.wordpress.com/2017/04/04/mirroring-websites-using-wget-httrack/?unapproved=62&moderation-hash=91eee6e050a4905bf252397db882b3ec#comment-62)**
>
> So today I have to find the best way to mirror the websites among various options like wget, httrack and curl etc. WGET With wget we can use the following :- wget –mirror –convert-links…

假如还是不行，可能得自己学Python写程式，本坛的大佬都用Python。当然，Python也不是万能的，有的网站保护得固若金汤。

---

<div class="post-metadata">

作者： ![mdict6](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/8491ac/32.png) [@mdict6](https://forum.freemdict.com/u/mdict6)\
发布日期： [2022 年7 月 1 日 10:12 UTC](https://forum.freemdict.com/t/topic/13853/4 "2022-07-01T10:12:58Z")

</div>

学廖雪峰的python教程会不会超过了

---

<div class="post-metadata">

作者： ![Yuki](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/yuki/32/28733_2.png) [@Yuki](https://forum.freemdict.com/u/Yuki)\
发布日期： [2022 年7 月 2 日 16:02 UTC](https://forum.freemdict.com/t/topic/13853/5 "2022-07-02T16:02:34Z")

</div>

> [@shaoshi](#):
>
> 先声明，我不内行。
> 
> 你可以参考以下帖子所介绍的软件：
> 
> httrack wget curl scrape & fetch  
> [download - httrack wget curl scrape & fetch - Stack Overflow](https://stackoverflow.com/questions/19098315/httrack-wget-curl-scrape-fetch)
> 
> Mirroring websites using wget, httrack, curl  
> [Mirroring websites using wget, httrack, curl – Hardwork beats talent, when talent doesnt, work hard](https://gurjitmehta.wordpress.com/2017/04/04/mirroring-websites-using-wget-httrack/?unapproved=62&moderation-hash=91eee6e050a4905bf252397db882b3ec#comment-62)
> 
> 假如还是不行，可能得自己学Python写程式，本坛的大佬都用Python。当然，Python也不是万能的，有的网站保护得固若金汤。

他介紹了3個工具： HTTrack、 Wget 、 curl  
我試過了 HTTrack 跟 Wget 都失敗，看來最近辭典網站保護太好  
不懂 Python 編程，就沒辦法嘗試 Scrapy + bs4 ，還是感謝回覆。

---

<div class="post-metadata">

作者： ![Yuki](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/yuki/32/28733_2.png) [@Yuki](https://forum.freemdict.com/u/Yuki)\
发布日期： [2024 年6 月 9 日 14:22 UTC](https://forum.freemdict.com/t/topic/13853/6 "2024-06-09T14:22:18Z")

</div>

看到了新的爬取工具：  
Chrome Web Store [Instant Data Scraper](https://chromewebstore.google.com/detail/ofaokhiedipichpaobibbnahnkdoiiah)

搭配另一套解析工具：  
[Octoparse](https://www.octoparse.com/)

試了一下的確很好用，使用方法也很簡單  
而且資料直接整理好，網頁爬取後很快就能製作  
整體比我原本用的方法快了 3 至 5 倍  
有需要爬取新辭典可以試試看這2套工具的搭配

教學可以看這篇：  
Youtube [原來抓網頁資料已經變得那麼簡單了？一行程式都不用寫，連小學生都能輕鬆上手喔！ - PAPAYA 電腦教室](https://youtu.be/0xzTzw6GQiw)
