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
function getCookie(name) { | |
const value = `; ${document.cookie}`; | |
const parts = value.split(`; ${name}=`); | |
if (parts.length === 2) return parts.pop().split(';').shift(); | |
} | |
console.log('ltoken='+getCookie('ltoken')+'; ltuid='+getCookie('ltuid')+';'); |
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
const token = "ltoken=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx; ltuid=xxxxxxxx;" | |
const genshin = false | |
const honkai_star_rail = true | |
const honkai_3 = false | |
const discord_notify = false | |
const myDiscordID = "xxxxxxxxxxxxxxxxxxxxxxxxxx" | |
const myDiscordName = "xxxxxxxxxx" | |
const discordWebhook = "https://discord.com/api/webhooks/xxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
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 re | |
import os | |
from pathlib import Path | |
Path("out").mkdir(parents=True, exist_ok=True) | |
f = open("hdifffiles.txt", "r") | |
string = f.read() | |
dir = re.sub('{"remoteName": "', '', string) | |
dir = re.sub('"}', '', dir) |