How can I download text from a pastebin.com/raw/ url? I would love to be able to do this, but haven’t figured out a way.
Shameless plug, if you’re looking for something import scripts to you Scriptable library, try my Import-Script script.
Supported Sites
- github.com
- gist.github.com
- pastebin.com
- hastebin.com
- raw code from the clipboard
Download here:
Like this.
let resp = new Request("https://pastebin.com/raw/D27LkcGF");
console.log(await resp.loadString());
1 Like