This file contains hidden or 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 ast | |
file = open("ids.txt","r") | |
ids = ast.literal_eval(file.read()) | |
file.close() | |
for programid in ids: | |
burp0_url = f"https://api.calm.com/programs/guides/{programid}" | |
burp0_headers = {"Connection": "close", "x-is-www-app": "true", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36", "Accept": "application/json, text/plain, */*", "Cache-Control": "no-cache", "x-device-version": "1.3", "x-device-platform": "www", "x-client-timezone": "Europe/London", "x-device-id": "95b94c2e-0e82-4ea5-b646-123325dd71eb", "Origin": "https://app.www.calm.com", "Sec-Fetch-Site": "same-site", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Dest": "empty", "Referer": "https://app.www.calm.com/", "Accept-Encoding": "gzip, deflate", "Accept-Language": "en-US,en;q=0.9"} | |
response = requests.get(burp0_url, headers=burp0_headers).json() | |
title = response.get("title") |
This file contains hidden or 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
// Modified from: https://gist.github.com/aksakalli/9191056 | |
using System; | |
using System.Collections.Generic; | |
using System.Net; | |
using System.IO; | |
using System.Threading; | |
namespace MyNamespace | |
{ |
This file contains hidden or 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
t!help ```dir```**`````**` | |
text-to-print | |
** | |
spaces dont work use it for printing server links on servers that use bots to block server links | |
like so | |
t!help ```dir```**`````**` |