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 / twitter-unfollow.ipynb
Last active March 29, 2023 10:01 — forked from svpino/twitter-unfollow.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
divyajyotiuk /
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("", "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:
with open(file_name) as bk: