Skip to content
Michael Lizzio

Duolingo Hack

A Duolingo bot that turned speaking practice into an XP machine

  • Python
  • Selenium
  • Beautiful Soup
  • Virtual audio cable
  • PyAudio

Archived

I got tired of doing the same Duolingo exercises every day, so I built a bot to do them for me. It started by running several story sessions in parallel, then changed tactics after that stopped earning XP. The final version recorded each speaking prompt through a virtual audio cable and played it back to Duolingo for a perfect answer.

The first version

My first approach used Duolingo stories. I ran several browser sessions at once, completing multiple stories every thirty seconds and stacking up XP until Duolingo stopped awarding it.

The audio trick

For speaking practice, Duolingo first played the phrase it wanted me to repeat. My bot recorded that audio, trimmed the silence, and sent the exact same phrase back through a virtual microphone. That version helped me rack up thousands of XP and win the Diamond League.

What happened next

I retired the bot because I actually use Duolingo to learn now, but I am still keeping the streak alive. This page will be much funnier once the old screen recordings, leaderboard screenshots, and current streak screenshot are added.