Skip to content

Instantly share code, notes, and snippets.

@frankpinto
Created May 4, 2015 19:44
Show Gist options
  • Save frankpinto/642ac80700a2c81c4b5e to your computer and use it in GitHub Desktop.
Save frankpinto/642ac80700a2c81c4b5e to your computer and use it in GitHub Desktop.
Demo de descargar varias paginas async
#!/usr/bin/env bash
# Requisito de usar este script es tener node.js instalado
command -v node >/dev/null 2>&1 || { echo >&2 "Se require Node.JS para ejecutar este script. Por favor instalelo (https://nodejs.org/) e ejecutelo de nuevo."; exit 1; }
# Crear demo directory
git clone https://github.com/frankpinto/scraper-demo.git
# Instalar dependencias
cd scraper-demo
npm install
# Ejecutar
node index.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment