CODEX

Learn Web Scraping the Fun Way by Building A Discord Bot

Xuewei Qian
CodeX
9 min readMar 18, 2021

--

Image by Xuewei Qian

You know web scraping is a highly beneficial skill to have, it’s been on your list of things to learn for a very long time now.

What’s holding you back?

We both know the answer is the most elusive force in the universe called motivation.🙂 While the simple but factual ‘it’s good for you’ usually has no bearing on us, by some lucky chance, we humans can be easily motivated by fun.

🤖 Let’s get the fun started with a Discord bot!

Before we get our hands dirty, I want to make it clear that while it seems like I’m complicating web-scraping by throwing in building a Discord bot. The bot is actually really simple to make thanks to the awesome Discord package.

By the end of this post, we will have a live Discord bot that goes to the website and searches for us.

Image by Xuewi Qian

Bot Setup

What you need before setup:

  • A Discord account.
  • A Discord server. If you don’t…

--

--

Xuewei Qian
CodeX

Data Scientist | Flutter Developer @RunPee; Ex-MKT-Professional; Mandarin & English Bilingual; Fan of <ThreeBody Trilogy>&<The Expanse>!