chore: update and merge gitignore

This commit is contained in:
Guillem Hernandez Sola
2026-03-29 17:44:14 +02:00
commit 57bf1aab81
57 changed files with 3124 additions and 0 deletions

12
cookie_login.py Normal file
View File

@@ -0,0 +1,12 @@
from tweety import Twitter
# This creates a local session file so you only log in once
app = Twitter("my_account_session")
# Log in with your credentials
app.sign_in("grijanderm59258", "Bo3usi!!")
# Fetch the tweets
tweets = app.get_tweets("meteocat", pages=1)
for tweet in tweets:
print(tweet.text)