Skip to content

Instantly share code, notes, and snippets.

@dlmrr
dlmrr / facebook_extraction.ipynb
Created October 22, 2021 18:01
extracting first names and last names for the 2021 facebook leak
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dlmrr
dlmrr / timeline duplicator
Last active March 21, 2022 14:50
script to copy someone's twitter timeline
import tweepy
# Authenticate to Twitter
auth = tweepy.OAuthHandler(consumer_token, consumer_secret)
auth.set_access_token(key, secret)
api = tweepy.API(auth)
try:
api.verify_credentials()
dep_codes = {"ZA" : "971",
"ZB" : "972",
"ZC" : "973",
"ZD" : "974",
"ZM" : "976",
"ZN" : "988",
"ZP" : "987",
"ZS" : "975",
"ZW" : "986",
"ZX" : "977_978",