Benature / WordReview

๐Ÿ“š ่ƒŒๅ•่ฏ็ฝ‘้กต Django + MySQL + Pug + JS
https://benature.github.io/WordReview/
GNU Lesser General Public License v3.0
576 stars 72 forks source link

Brilliant project! Can you add crawler component to fetch data from online dicts? #2

Closed Anarion-zuo closed 4 years ago

Benature commented 4 years ago

Yeah, that is a good suggestion and it lies in my TODO list for a long time. However, CORS (Cross-Origin Resource Sharing) is a problem that I cannot handle it for now.

Recently I have written a Chrome extension which can avoid the limitation of CORS and get data from other sites.

BTW, I am not sure what you mean with the online dicts, here is two my understandings:

  1. you have a specific list of words and you want to fetch some data like meaning, phonetic symbol, example sentences, etc..
  2. you want to get a list words from other sites.
Benature commented 4 years ago

And as the back-end is written by python, it is very easy to add an API to run a python crawler, which you are skilled in, I think.

Benature commented 4 years ago

And as the back-end is written by python, it is very easy to add an API to run a python crawler, which you are skilled in, I think.

done in 6790a67