×

LingQ'yu daha iyi hale getirmek için çerezleri kullanıyoruz. Siteyi ziyaret ederek, bunu kabul edersiniz: cookie policy.

us   United States

Full text import for Le Monde

February 25 at 16:51

Hi - big LingQ fan here, learning French.

lemonde.fr is one of my primary sources of material, but unfortunately, because the full text of the article isn't available via a share link, only a portion of each article gets imported.

I recently played around with creating a browser-side importer (ie, creating a separate extension to pull the article text directly from the html and using the LingQ API to create a lesson). This works well enough, but it's clunky to have two separate LingQ extensions.

I see that the real LingQ extension has some

special handling for Netflix; I wonder if you'd consider this for others sites too, like Le Monde?

The code is pretty trivial, you can see the article scraping here:

https://github.com/akamgm/LingQMonde/blob/main/scripts/content.js

Thanks!