Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

欧陆api查询单词 #82

Open
qq1906 opened this issue Apr 5, 2020 · 12 comments
Open

欧陆api查询单词 #82

qq1906 opened this issue Apr 5, 2020 · 12 comments

Comments

@qq1906
Copy link

qq1906 commented Apr 5, 2020

作者你好,用欧陆api查询单词的话,卡片正面能正常看到单词和单词的音标,背面没有任何信息;但是有道api是正常的。

还望作者有空看看能不能修复这个bug

@wd
Copy link
Contributor

wd commented Apr 6, 2020

具体是某个单词还是全部都是?有例子吗?

@qq1906
Copy link
Author

qq1906 commented Apr 6, 2020

具体是某个单词还是全部都是?有例子吗?

是全部单词背面都是没有任何信息,昨天我还特意去https://ankiweb.net/shared/info/1284759083 看看有没有更新,看到评论好像也有不少我这样的情况噢

@qq1906
Copy link
Author

qq1906 commented Apr 6, 2020

具体是某个单词还是全部都是?有例子吗?

是全部单词背面都是没有任何信息,昨天我还特意去https://ankiweb.net/shared/info/1284759083 看看有没有更新,看到评论好像也有不少我这样的情况噢

哎,可能是欧陆api次数限制问题,刚刚又试了下,有一小部分单词背面有解释了,但大部分单词还是没有解释T^T

@wd
Copy link
Contributor

wd commented Apr 6, 2020

你这样的回复没有任何用,你能把你具体出错的单词和插件记录的日子贴一下吗?
我这里测试了一下,没有遇到问题。

@qq1906
Copy link
Author

qq1906 commented Apr 6, 2020

sorry,以下是查询日志的一部分,省去的上部分是成功查询的。这开始下面的单词查询都返回空了。

`

<title> - (dict2Anki.queryApi.eudict) [06/04/2020 14:51:13][ DEBUG] -- {'term': 'absorbed', 'definition': ['adj.被…吸引住;专心致志;全神贯注', 'adv.专心致志地;全神贯注地', 'n.专心致志;全神贯注'], 'phrase': [('absorbed in', '全神贯注于……'), ('absorbed cost', '已分配的成本;已吸收成本'), ('absorbed power', '吸收功率;吸收能力'), ('absorbed torque', '(测功器)吸收扭矩;被吸收的扭矩'), ('absorbed water', '吸附水;吸收水'), ('absorbed radiation', '吸收辐射;被吸收的辐射')], 'image': None, 'sentence': [('She was absorbed with the mathematical problem.', '她专心致志地演算数学题。'), ('Everyone was absorbed with the beautiful scenery.', '人人都为这美丽的景色所陶醉。'), ('He nodded absently,his attention absorbed by the screen.', '他专心注视着屏幕,只是心不在焉地点了点头。'), ('The role of administrator absorbed much of Ben’s energy.', '行政职务耗掉本很多精力。'), ('Be absorbed in the chymic oak and plastic industry.', '专注于化学橡塑工业产品研发生产!'), ('They absorbed a great deal of the Roman culture.', '他们大量地吸收了罗马文化。'), ('A jigsaw puzzle can keep me absorbed for hours.', '一副拼图就能让我沉醉几个小时。'), ('He is absorbed in the calculation of that difficult maths problem.', '他全神贯注地在算那道数学难题。'), ('Nutrients are absorbed into the bloodstream.', '营养素被吸收进血液。'), ('The acrobatic tricks absorbed the children.', '杂技表演使孩子们神往。'), ('They are absorbed in the experiment.', '他们专心于实验。'), ('Certain chemicals are easily absorbed into the bloodstream, while others are not.', '某些化学药品很容易溶于血液, 有些则不行。'), ('The humour of it is not to be absorbed in a hurry.', '其中的幽默不是一下子能领会的。'), ('The beauty of it is not to be absorbed in a hurry.', '其中的妙处不是轻易所能领会的。'), ('Biological powdered activated carbon enhanced the growth of nitrifier by absorbed toxic or inhibitory substance.', '生物活性炭吸附了对硝化菌产生毒性和抑制的物质、强化了硝化菌在炭表面的生长。'), ('Mary was absorbed in thought.', '玛丽在沉思。'), ('He is absorbed in study.', '他专心读书。'), ('The politician was able to take the pulse of the grassroots voters without becoming overly absorbed.', '这位政治家可以不费太多心力就把其选民的心态摸清'), ('Silver occurred in form of minerals in the cryptomelane,coronadite,psilomelane with minor silver absorbed in the manganese minerals.', '银主要以独立矿物和离子吸附状态的形式赋存于地表锰铅矿和锰钾矿中;'), ('The writer was absorbed in his writing that he forgot to flick the ashes from his cigar.', '作家全神贯注地进行写作,忘了弹去雪茄烟的烟灰。')], 'BrEPhonetic': "/əb'sɔːbd/", 'AmEPhonetic': "/əb'sɔrbd/", 'BrEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_uk_male&txt=QYNYWJzb3JiZWQ%3d', 'AmEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_us_female&txt=QYNYWJzb3JiZWQ%3d'} - (dict2Anki.queryApi.eudict) [06/04/2020 14:51:13][ INFO] -- 查询成功: absorbed -- {'term': 'absorbed', 'definition': ['adj.被…吸引住;专心致志;全神贯注', 'adv.专心致志地;全神贯注地', 'n.专心致志;全神贯注'], 'phrase': [('absorbed in', '全神贯注于……'), ('absorbed cost', '已分配的成本;已吸收成本'), ('absorbed power', '吸收功率;吸收能力'), ('absorbed torque', '(测功器)吸收扭矩;被吸收的扭矩'), ('absorbed water', '吸附水;吸收水'), ('absorbed radiation', '吸收辐射;被吸收的辐射')], 'image': None, 'sentence': [('She was absorbed with the mathematical problem.', '她专心致志地演算数学题。'), ('Everyone was absorbed with the beautiful scenery.', '人人都为这美丽的景色所陶醉。'), ('He nodded absently,his attention absorbed by the screen.', '他专心注视着屏幕,只是心不在焉地点了点头。'), ('The role of administrator absorbed much of Ben’s energy.', '行政职务耗掉本很多精力。'), ('Be absorbed in the chymic oak and plastic industry.', '专注于化学橡塑工业产品研发生产!'), ('They absorbed a great deal of the Roman culture.', '他们大量地吸收了罗马文化。'), ('A jigsaw puzzle can keep me absorbed for hours.', '一副拼图就能让我沉醉几个小时。'), ('He is absorbed in the calculation of that difficult maths problem.', '他全神贯注地在算那道数学难题。'), ('Nutrients are absorbed into the bloodstream.', '营养素被吸收进血液。'), ('The acrobatic tricks absorbed the children.', '杂技表演使孩子们神往。'), ('They are absorbed in the experiment.', '他们专心于实验。'), ('Certain chemicals are easily absorbed into the bloodstream, while others are not.', '某些化学药品很容易溶于血液, 有些则不行。'), ('The humour of it is not to be absorbed in a hurry.', '其中的幽默不是一下子能领会的。'), ('The beauty of it is not to be absorbed in a hurry.', '其中的妙处不是轻易所能领会的。'), ('Biological powdered activated carbon enhanced the growth of nitrifier by absorbed toxic or inhibitory substance.', '生物活性炭吸附了对硝化菌产生毒性和抑制的物质、强化了硝化菌在炭表面的生长。'), ('Mary was absorbed in thought.', '玛丽在沉思。'), ('He is absorbed in study.', '他专心读书。'), ('The politician was able to take the pulse of the grassroots voters without becoming overly absorbed.', '这位政治家可以不费太多心力就把其选民的心态摸清'), ('Silver occurred in form of minerals in the cryptomelane,coronadite,psilomelane with minor silver absorbed in the manganese minerals.', '银主要以独立矿物和离子吸附状态的形式赋存于地表锰铅矿和锰钾矿中;'), ('The writer was absorbed in his writing that he forgot to flick the ashes from his cigar.', '作家全神贯注地进行写作,忘了弹去雪茄烟的烟灰。')], 'BrEPhonetic': "/əb'sɔːbd/", 'AmEPhonetic': "/əb'sɔrbd/", 'BrEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_uk_male&txt=QYNYWJzb3JiZWQ%3d', 'AmEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_us_female&txt=QYNYWJzb3JiZWQ%3d'} - (dict2Anki.workers.QueryWorker) [06/04/2020 14:51:13][ DEBUG] -- code:200- word:explanation text: <title> - (dict2Anki.queryApi.eudict) [06/04/2020 14:51:13][ DEBUG] -- {'term': 'application', 'definition': [], 'phrase': [], 'image': None, 'sentence': [], 'BrEPhonetic': "/æplɪ'keɪʃ(ə)n/", 'AmEPhonetic': "/ˌæplɪ'keʃən/", 'BrEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_uk_male&txt=QYNYXBwbGljYXRpb24%3d', 'AmEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_us_female&txt=QYNYXBwbGljYXRpb24%3d'} - (dict2Anki.queryApi.eudict) [06/04/2020 14:51:13][ INFO] -- 查询成功: application -- {'term': 'application', 'definition': [], 'phrase': [], 'image': None, 'sentence': [], 'BrEPhonetic': "/æplɪ'keɪʃ(ə)n/", 'AmEPhonetic': "/ˌæplɪ'keʃən/", 'BrEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_uk_male&txt=QYNYXBwbGljYXRpb24%3d', 'AmEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_us_female&txt=QYNYXBwbGljYXRpb24%3d'} - (dict2Anki.workers.QueryWorker) [06/04/2020 14:51:13][ DEBUG] -- {'term': 'explanation', 'definition': [], 'phrase': [], 'image': None, 'sentence': [], 'BrEPhonetic': "/eksplə'neɪʃ(ə)n/", 'AmEPhonetic': "/ˌɛksplə'neʃən/", 'BrEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_uk_male&txt=QYNZXhwbGFuYXRpb24%3d', 'AmEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_us_female&txt=QYNZXhwbGFuYXRpb24%3d'} - (dict2Anki.queryApi.eudict) [06/04/2020 14:51:13][ INFO] -- 查询成功: explanation -- {'term': 'explanation', 'definition': [], 'phrase': [], 'image': None, 'sentence': [], 'BrEPhonetic': "/eksplə'neɪʃ(ə)n/", 'AmEPhonetic': "/ˌɛksplə'neʃən/", 'BrEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_uk_male&txt=QYNZXhwbGFuYXRpb24%3d', 'AmEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_us_female&txt=QYNZXhwbGFuYXRpb24%3d'} - (dict2Anki.workers.QueryWorker) [06/04/2020 14:51:13][ DEBUG] -- code:200- word:result text: <title> - (dict2Anki.queryApi.eudict) [06/04/2020 14:51:13][ DEBUG] -- {'term': 'result', 'definition': [], 'phrase': [], 'image': None, 'sentence': [], 'BrEPhonetic': "/rɪ'zʌlt/", 'AmEPhonetic': "/rɪ'zʌlt/", 'BrEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_uk_male&txt=QYNcmVzdWx0', 'AmEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_us_female&txt=QYNcmVzdWx0'} - (dict2Anki.queryApi.eudict) [06/04/2020 14:51:13][ INFO] -- 查询成功: result -- {'term': 'result', 'definition': [], 'phrase': [], 'image': None, 'sentence': [], 'BrEPhonetic': "/rɪ'zʌlt/", 'AmEPhonetic': "/rɪ'zʌlt/", 'BrEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_uk_male&txt=QYNcmVzdWx0', 'AmEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_us_female&txt=QYNcmVzdWx0'} - (dict2Anki.workers.QueryWorker) [06/04/2020 14:51:13][ DEBUG] -- code:200- word:term text: <title> - (dict2Anki.queryApi.eudict) [06/04/2020 14:51:13][ DEBUG] -- {'term': 'term', 'definition': [], 'phrase': [], 'image': None, 'sentence': [], 'BrEPhonetic': '/tɜːm/', 'AmEPhonetic': '/tɝm/', 'BrEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_uk_male&txt=QYNdGVybQ%3d%3d', 'AmEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_us_female&txt=QYNdGVybQ%3d%3d'} - (dict2Anki.queryApi.eudict) [06/04/2020 14:51:13][ INFO] -- 查询成功: term -- {'term': 'term', 'definition': [], 'phrase': [], 'image': None, 'sentence': [], 'BrEPhonetic': '/tɜːm/', 'AmEPhonetic': '/tɝm/', 'BrEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_uk_male&txt=QYNdGVybQ%3d%3d', 'AmEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_us_female&txt=QYNdGVybQ%3d%3d'} - (dict2Anki.workers.QueryWorker) [06/04/2020 14:51:13][ DEBUG] -- code:200- word:physicist text: `

@wd
Copy link
Contributor

wd commented Apr 6, 2020

我试了一下 applicationexplanation 应该是可以查到的。那可能的一个原因就是欧陆做了频率限制什么的,或者作者可以考虑增加一个查词的间隔时间。

我这段时间基本没怎么用这个插件了,前段时间用基本都是一次查至少 30 - 50 个词好像都是没问题的,不知道是不是最近有的限制。

@wd
Copy link
Contributor

wd commented Apr 7, 2020

对了, @qq1906 你看看是不是可以帮忙验证下,你同步的时候遇到同步错误的时候,去欧陆的网站https://dict.eudic.net/dicts/en/application 自己查查这些不能查的词看看显示什么。

@qq1906
Copy link
Author

qq1906 commented Apr 7, 2020

我试了一下 applicationexplanation 应该是可以查到的。那可能的一个原因就是欧陆做了频率限制什么的,或者作者可以考虑增加一个查词的间隔时间。

我这段时间基本没怎么用这个插件了,前段时间用基本都是一次查至少 30 - 50 个词好像都是没问题的,不知道是不是最近有的限制。

其实查询不到这个问题,很容易复现的,因为我是第一次导入anki,单次查询的单词超过100,就会出现返回空。如果你查询100个单词都还没复现,那就再点一次查询按钮,会有惊喜(全部返回空)。

有个小提议:
针对首次导入,能不能设计一个机制,查询的速度慢点(这样可能就不会出现返回空);而追加(更新)单词就按现在目前这样的机制。

@qq1906
Copy link
Author

qq1906 commented Apr 7, 2020

对了, @qq1906 你看看是不是可以帮忙验证下,你同步的时候遇到同步错误的时候,去欧陆的网站https://dict.eudic.net/dicts/en/application 自己查查这些不能查的词看看显示什么。

anki插件网页查询返回空后,去欧陆官网查询返回正常。。。
error

@volcanop
Copy link

volcanop commented Jul 5, 2021

我的电脑上,也发现了一模一样的问题。

@mightydaduser
Copy link

WechatIMG331
WechatIMG330

@wd
Copy link
Contributor

wd commented Oct 12, 2021

我试了试可以查到的。如果查不到,那可能也和上面的情况类似,对方有频率限制什么的,不要一次查太多词吧。

{'term': 'affable', 'definition': ['adj. 和蔼可亲的;友善的'], 'phrase': [], 'image': None, 'sentence': [('The chairman was quite <span class="key">affable</span> at the meeting.', '主席在会议上非常和蔼可亲。'), ('He is an <span class="key">affable</span> man, always willing to stop and talk.', '他是一个和蔼的人, 总是乐于停下来与人交谈。'), ('She is <span class="key">affable</span> enough when she is not preoccupied with business problems.', '当她不忙于公事的时候是很容易接近的。'), ('He was <span class="key">affable</span> in manner.', '他态度和蔼。'), ('Granny smiled an <span class="key">affable</span> smile.', '奶奶慈祥地笑了笑。')], 'BrEPhonetic': "/'æfəb(ə)l/", 'AmEPhonetic': "/'æfəbl/", 'BrEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_uk_male&txt=QYNYWZmYWJsZQ%3d%3d', 'AmEPron': 'https://api.frdic.com/api/v2/speech/speakweb?langid=en&voicename=en_us_female&txt=QYNYWZmYWJsZQ%3d%3d'}

Repository owner deleted a comment from dummy-account007 Jan 2, 2024
Repository owner deleted a comment from BhavyClover Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@wd @qq1906 @volcanop @mightydaduser and others