- Github: https://github.com/anthonykoch
- Codepen: https://codepen.io/anthonykoch/
- Website: https://anthonykoch.com
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 cheerio = require('cheerio'); | |
const genid = require('uuid'); | |
const { URL } = require('url'); | |
const path = require('path'); | |
const compose = (exports.compose = (...functions) => args => | |
functions.reduce((arg, fn) => fn(arg), args)); | |
const dataifyAttributes = ($el, attributes) => { |
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
'use strict' | |
const axios = require('axios') | |
const url = require('url') | |
const delay = (time) => new Promise((resolve) => setTimeout(resolve, time)) | |
!async function main() { | |
const baseUrl = 'https://letsrevolutionizetesting.com/challenge.json' |