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
<!DOCTYPE HTML> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" /> | |
<meta name="robots" content="noindex, nofollow" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1" /> | |
<meta http-equiv="refresh" content="12"> | |
<title>Just a moment...</title> |
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 {Builder, By, Key, until, util} = require('selenium-webdriver'); | |
const FileReader = require('filereader'); | |
const fs = require('fs'); | |
const config = require('./config'); | |
let driver = new Builder().forBrowser('chrome').build(); | |
// CONSTANTS | |
const RS_URL = "https://secure.runescape.com/m=weblogin/loginform?mod=twitch_integration&ssl=1&dest"; | |
const RS_FAIL_URL = "https://secure.runescape.com/m=weblogin/login.ws"; | |
const RS_REDIRECT_URL = "https://www.runescape.com/account/linked-accounts/twitch/played-before"; |
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 configData = require('./config'); | |
const webhook = require('webhook-discord'); | |
const cloudscraper = require('cloudscraper'); | |
const JSSoup = require('jssoup').default; | |
const Hook = new webhook.Webhook(configData.webhook); | |
const ENDING = 'page/5000/'; | |
const THREADS = configData.threads; | |
const DATE_CACHE = configData.cache; | |
const getRandomColor = () => { |
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
# Update debian | |
apt-get update -q -y | |
apt-get upgrade -q -y | |
apt-get dist-upgrade -q -y | |
# Incase debian fails to install | |
mkdir /dev/fuse | |
chmod 777 /dev/fuse | |
apt-get install fuse |