xiaoyifang / goldendict-ng

The Next Generation GoldenDict
https://xiaoyifang.github.io/goldendict-ng/
Other
1.62k stars 88 forks source link

goldendict can't get resource from some websites #1283

Open cuongduong73 opened 11 months ago

cuongduong73 commented 11 months ago

Describe the bug goldendict can't get resource from some websites, for example: ozdic (english), cambridge (english), mazii (japanese)

To Reproduce Steps to reproduce the behavior:

  1. Add these website to goldendict, here is my example format:
    https://ozdic.com/collocation/%GDWORD%
    https://mazii.net/vi-VN/search/word/javi/%GDWORD%
    https://dictionary.cambridge.org/search/direct/?datasetsearch=english&q=%GDWORD%
  2. Search for any word
  3. The result is blank (ozdic, mazii) or display with no css (cambridge)

Expected behavior The result is displayed exactly the same on the website

OS and software versions

xiaoyifang commented 11 months ago

the gd-ng did has some issues when processing website dictionaries. And The first two websites have CORS problem. the font url in the third website also has CORS problem.

Currently there is no good way to handle these website dictionary.