Skip to content

Instantly share code, notes, and snippets.

View subins2000's full-sized avatar
♥️
ആരാണു് സമാധാനം ആഗ്രഹിക്കാത്തതു്. Queen - 39

Subin Siby subins2000

♥️
ആരാണു് സമാധാനം ആഗ്രഹിക്കാത്തതു്. Queen - 39
View GitHub Profile
@subins2000
subins2000 / Instagram Scraper.md
Created October 18, 2020 10:51
Instagram Scraper for Varnam
instagram-scraper --media-metadata --media-types none --latest --latest-stamps scrape-timestamps -f usernames

Note :

  • Don't scrape comments, more faster api limit hit
@subins2000
subins2000 / fix-rotation-by-exif-orientation-of-pictures.py
Created January 1, 2022 17:38
Fixes the rotation of images in a folder by their EXIF orientation property. Useful for Wikimedia Commons uploads
#!/usr/bin/env python3
import glob
import sys
from PIL import ImageOps, Image
dirpath = sys.argv[1]
try:
images = glob.glob(dirpath + "/*.jpg")