“Heaven Banning” Twitter Users with a Web Scraper + Llama 2 (X Users)

9 months ago
7

Tonight we’re gonna have some fun and try making some twitter bots that generate tweets with an llm.

Try the finished code on Github: https://github.com/jawerty/heaven-ban-bot

UPDATE: In the end it worked! The twitter account is https://twitter.com/everydaytechbro. Here's the Github link - https://github.com/jawerty/heaven-ban-bot

💰Donate / Superchat: https://cash.app/$jawerty210
Buy Me a Coffee: https://www.buymeacoffee.com/bjGHFVW355

Join The Discord: https://discord.gg/dv4TSzsk27

My Socials:
GitHub: https://github.com/jawerty
Twitter (X): https://twitter.com/jawerty
LinkedIn: https://www.linkedin.com/in/jawerty/
Twitch - https://www.twitch.tv/jaredthecoder10x
Rumble - https://rumble.com/c/c-3572412

00:00 Introduction
9:50 Setting up the colab (Selenium + Huggingface)
46:00 We start writing the login automation
1:01:04 Little side note about problem solving
1:05:48 Testing Login Script
1:10:20 Building the "ideology" scraper
2:06:10 Writing the Auto Reply script (+ generating the reply)
2:34:15 We get blocked by Twitter (X)
3:10:59 We move the code locally to get around the bot detection
3:43:40 It works again!
3:52:00 Auto save cookies for efficient logging in
4:20:38 thecommentingguy is right and I don't realize it
4:36:30 thecommentingguy is redeemed
4:47:00 I fix the final pesky bug!
4:58:00 It's doing it!! (Skip here if you want)
5:27:25 Testing on AOC (reply guy the bot)

Loading comments...