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
token = input("Copy and paste user token: ") | |
import requests, json, base64, time, sys | |
X_Super = {"client_build_number":280346} | |
headers = { | |
'authorization': token, | |
'x-super-properties': base64.b64encode(json.dumps(X_Super).encode('utf-8')).decode('utf-8'), | |
} |
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
from flask import Flask, jsonify, redirect | |
from datetime import datetime, timedelta | |
import requests | |
CACHE_DURATION = timedelta(hours=1) | |
cache = {} | |
app = Flask(__name__) |