This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import re | |
import sys | |
import json | |
def obtain_ids(user): | |
response = requests.get('https://www.instagram.com/' + user) | |
appid = re.search('appId":"(\d*)', response.text)[1] | |
serverid = re.search('server_revision":(\d*)', response.text)[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name AgentX | |
// @namespace Social Agents | |
// @description Enhances Twitter web interface by providing functionalities like copying profile URLs and tweet content, viewing profiles on the Wayback Machine, and highlighting specific text patterns within tweets. | |
// @match https://twitter.com/* | |
// @author GONZO | |
// ==/UserScript== | |
document.addEventListener('DOMContentLoaded', initializeExtension); |