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
// Derived from https://github.com/cogdog/storify-extractor | |
// Same License | |
// Usage: node recup-storify.js <url of story> | |
// will save a file <story name>.html | |
function getAllMatches(regex, text) { | |
// ----h/t https://stackoverflow.com/a/29999424/2418186 | |
if (regex.constructor !== RegExp) { | |
throw new Error('not RegExp'); |
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
Verifying that +brunowinck is my blockchain ID. https://onename.com/brunowinck |