tisfeng / Raycast-Easydict

A Raycast Extension for looking up words or translating text in an easy way. Support 48+ languages, support Linguee and Youdao dictionary, support OpenAI, DeepL, Google, Bing, Apple, Baidu, Tencent, Volcano, Youdao and Caiyun translation.
https://www.raycast.com/isfeng/easydict
MIT License
382 stars 21 forks source link

🚀 功能建议:调用本地Eudic查词 #38

Closed imshenshen closed 11 months ago

imshenshen commented 1 year ago

请先确认以下事项

功能描述

建议添加本地欧路词典查词,而不是查询结果后,再通过更多命令打开Eudic。 不知道这个好实现么?

使用场景(可选)

No response

实现方案(可选)

No response

github-actions[bot] commented 1 year ago

Hello imshenshen, Thank you for your first issue contribution 🎉

tisfeng commented 1 year ago

之前我尝试过,但这个不太好弄,首先 Eudic 官方不提供对外 API,即使网页版 https://dict.eudic.net/dicts/en/good 抓包一看,返回的数据居然是 HTML,我吐了,实在不想去手写解析,太累了。

如果小伙伴有好的解决方法,可以告知一下。 如果不怕苦不怕累,手动爬虫也行,PR 欢迎你,虽然实现不优雅,但又不是不能用 🫠