ospalh / anki-addons

A collection of Anki 2.1 addons in different states of bugginess, up-to-dateness and usefulness.
http://ospalh.github.io/anki-addons/
135 stars 60 forks source link

Lexin Downloader uses deprecated filestructure #77

Closed belteshassar closed 7 years ago

belteshassar commented 9 years ago

While it still works as of now, the Lexin downloader uses a deprecated file structure and will probably break in the future. Lexin has moved to id-based filenames. Since I was the one who introduced the Lexin downloader I feel some responsibility for keeping it up to date. The new website is completely built with JavaScript, so there is no html to scrape for the id. Ideas are welcome.

belteshassar commented 8 years ago

I brought out my old friend the Firefox Inspector today and I think I have figured out how the javascript communicates with the server. The request uses the GWT-RPC protocol. I've managed to make successful requests and gotten responses which contain a file name.