Skip to content

Instantly share code, notes, and snippets.

View divyajyotiuk's full-sized avatar
👋
Hello, there!

Divyajyoti Ukirde divyajyotiuk

👋
Hello, there!
View GitHub Profile
@divyajyotiuk
divyajyotiuk / twitter-unfollow.ipynb
Last active March 29, 2023 10:01 — forked from svpino/twitter-unfollow.ipynb
twitter-unfollow.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@divyajyotiuk
divyajyotiuk / get_twitter_bookmarks.py
Last active February 10, 2024 05:40
Python code to get text and link of the bookmarked tweets and save in markdown
import json
import glob
all_bookmarks = []
md_file = open("bookmarks.md", "w+") # saving in markdown file, if no file exists using '+' creates one
files = [file for file in glob.glob("JSONBookmarks/*")] # using glob to read all files from the folder
for file_name in files:
print(file_name)
with open(file_name) as bk: