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 axios = require("axios"); | |
const cheerio = require("cheerio"); | |
const fs = require("fs"); | |
const { stringify } = require('csv-stringify/sync'); | |
const OUTPUT_FILE = "./mappings.csv"; | |
const MASTER_LIST_URL = "https://admit.washington.edu/apply/transfer/equivalency-guide"; | |
const ROOT_URL = "https://admit.washington.edu"; | |
const getColleges = async (url) => { |
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
According to all known laws | |
of aviation, | |
there is no way a bee | |
should be able to fly. | |
Its wings are too small to get | |
its fat little body off the ground. |
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
// Login manually through a browser and copy your .ROBLOSECURITY cookie | |
// Create a file "cookie" with the content: {"cookie": "PASTE COOKIE HERE"} | |
// After that you can use the function below and you will not have to manually login again | |
const rbx = require('roblox-js'); | |
const fs = require('fs'); | |
const cookieFile = './cookie'; | |
const cookie = JSON.parse(fs.readFileSync(cookieFile)).cookie; | |
rbx.options.jar.session = cookie; | |
const relog = () => { |
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
// This uses headless chrome to imitate a browser in an attempt to bypass "invisible" funcaptcha | |
// Note that Roblox is aggressively blocking IPs from cloud services like GCP and even VPS providers | |
// If your server uses a service like that it might be blocked and will be given captcha no matter what | |
// If you are given captcha this will fail by timeout | |
const puppeteer = require('puppeteer'); | |
const rbx = require('roblox-js'); | |
const username = 'username'; | |
const password = 'password'; |
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
// Includes | |
var http = require('./http.js').func; | |
var options = require('../options.js'); | |
var settings = require('../../settings.json'); | |
var clearSession = require('./clearSession.js').func; | |
// Args | |
exports.required = ['username', 'password']; | |
exports.optional = ['jar']; |
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
// Dependencies | |
var Promise = require('bluebird'); | |
var parser = require('cheerio'); | |
// Includes | |
var http = require('./util/http.js').func; | |
var getRoles = require('./util/getRoles.js').func; | |
var getRole = require('./util/getRole.js').func; | |
var promise = require('./util/promise.js'); | |
var getVerificationInputs = require('./util/getVerificationInputs.js').func; |