Skip to content

Using Python, Selenium and selenium-wire to scrape Duolingo, and create an Anki deck

Notifications You must be signed in to change notification settings

DustinAlandzes/scrape-duolingo-audio

Repository files navigation

Scraping audio from duolingo with Selenium

Using the mandarin chinese course to test this. Haven't tried on others

usage

setup environment and install dependencies
git clone ...
cd ...
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
download geckodriver and put in the project folder
set username and password environment variables and run main.py
export username=dustin
export password=secretpass
python main.py
there should be an output.apk now, import it to anki!

todo

  • incorporate styling from json into anki cards
  • setup dockerfile

About

Using Python, Selenium and selenium-wire to scrape Duolingo, and create an Anki deck

Topics

Resources

Stars

Watchers

Forks

Languages