Skip to content

Instantly share code, notes, and snippets.

View smilerightnow's full-sized avatar
🎯
Focusing

Mohamed Admane smilerightnow

🎯
Focusing
View GitHub Profile
import feedparser, requests, time, re
## pip install feedparser
sent = []
twitter_accounts = ["BBCWorld", "Peanuts50YrsAgo"] ## add twitter usernames here.
def send_msg(link, author):
data = {
"content": f"**{author}**: {link}",