Skip to content

Instantly share code, notes, and snippets.

😄
Just being Solly

­Sollace Sollace

😄
Just being Solly
Block or report user

Report or block Sollace

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Sollace
Sollace / yt_sourcer.js
Created May 9, 2019
Script to extract youtube video sources
View yt_sourcer.js
// https://www.youtube.com/watch?v=ZkZdMA5Ia7I
var stags = [];
stags.push.apply(stags, document.querySelectorAll('#player script'));
stags = stags
.map(s => s.innerText)
.filter(s => s.indexOf('url_encoded_fmt_stream_map') > -1)
.map(s => s.split('url_encoded_fmt_stream_map')[1].split('"')[2].split(','))
.map(s => s.map(decodeURIComponent).map(u => u.split("\\u0026")))
.map(s => s.map(u => {
View debug.log
This file has been truncated, but you can view the full file.
[12Apr2019 09:05:21.631] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190213.203750, --fml.mcVersion, 1.13.2, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 25.0.107, --version, MOD_DEV, --assetIndex, 1.13.1, --assetsDir, C:\Users\Sollace\.gradle\caches\forge_gradle\assets, --username, Test, --accessToken, ????????, --userProperties, {}]
[12Apr2019 09:05:21.639] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher starting: java version 1.8.0_152
[12Apr2019 09:05:21.735] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,fmldevclient,fmldevserver,fmluserdevserver,testharness,fmlclient,fmluserdevclient,fmlserver]
[12Apr2019 09:05:21.756] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [fml]
You can’t perform that action at this time.