This Python program scrapes french news from LeMonde and spanish news from ElMundo. It parses top 3 articles from each website and sends them via email to specified address.
I am a big fan of learning languages. Speak 4 fluently so far: Kazakh, English, Spanish and Russian. Learning French for the last year. Started from 0 with the following great book Easy French Step-by-Step. After finishing it 2 times and conspecting everything I moved to awesome french comics Les Aventures de Tintin. Generally, I would like to be aware of what is happening in the french and spanish speaking countries. So, I wrote this script using tutorial from freeCodeCamp and in particular following video by Abdul.
Program consists of following parts:
Selenium
to imitate Chrome browser, navigate websites and get the data of interest.email
to manage content of email.smtplib
to send email with the content.