Skip to content

Instantly share code, notes, and snippets.


Laxman ilovefreesw

View GitHub Profile
ilovefreesw /
Last active Mar 30, 2022
A script to check links in all the WordPress posts to find out broken ones. Saves the report in CSV file. Based on WordPress API and only needs domain as input.
import requests
import csv
import concurrent.futures
import sys, time
import bs4
domain = sys.argv[1]
csv_file = sys.argv[2]
headers = {
Suleman-Elahi /
Last active Mar 23, 2021
Get All WordPress Tags in Excel (CSV) using WordPress WP API v2
import requests
import csv
import time
from tqdm import tqdm
tags = {}
pages = int(requests.get('').headers['X-WP-TotalPages'])
for i in tqdm(range(pages), ncols=65):
js = requests.get(''+str(i+1)).json()
tajnymag / tinder.user.js
Last active Sep 26, 2022
Tinder Deblur Userscript (ARCHIVED and DEPRECATED, see
View tinder.user.js
// ==UserScript==
// @name Tinder Deblur
// @namespace Violentmonkey Scripts
// @match*
// @grant none
// @version 1.4
// @author Tajnymag
// @downloadURL
// @description Simple script using the official Tinder API to get clean photos of the users who liked you
// ==/UserScript==
Suleman-Elahi /
Last active Jun 30, 2022
Sript to unsave all saved Instagram posts. Uses Instagram private API by ping and its extensions to do the heavy lifting.
from instagram_private_api import Client, ClientCompatPatch
from instagram_private_api_extensions import pagination
import json, time
user_name = 'UserName'
password = 'PassWord'
api = Client(user_name, password)
Tras2 /
Last active Sep 14, 2022
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
# Proxy - uncomment and provide details if using a proxy
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport>
# Cloudflare zone is the zone which holds the record