https://github.com/allnulled/scrap-utils
Common functions in a typical scrap.
https://github.com/allnulled/scrap-utils
Last synced: 18 days ago
JSON representation
Common functions in a typical scrap.
- Host: GitHub
- URL: https://github.com/allnulled/scrap-utils
- Owner: allnulled
- Created: 2022-03-24T15:01:29.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-25T14:22:58.000Z (about 4 years ago)
- Last Synced: 2025-01-17T13:48:16.203Z (over 1 year ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scrap-utils
Utilidad para arrancar web-scraps escalables rápidamente.
## Instalación
#### Instalar por NPM:
Para instalar: `npm i -g scrap-utils`.
Para arrancar: `start-scrap`.
#### Instalar por Git:
Para instalar:
- `git clone https://github.com/allnulled/scrap-utils.git`
- `cd scrap-utils`
- `npm i`
Para arrancar: `node server.js`
## Prestaciones
- Servidor HTTP (8080) y HTTPS (8443).
- Operaciones:«add», «set» y «expand».
- Script para lado cliente con varias utilidades, como:
- función de carga de scripts genérica
- función de carga de jquery, axios y vue2.
- función de encuentro de tags por texto.
- funciones listadas en el despliegue del servidor.
- Script para lado servidor, que acepta CORS, y permite:
- añadir datos
- acceder al script del lado cliente
- one-liner para descargarse el script (por http o https)
- instrucciones ya incluidas en el despliegue y en los errores devueltos por el servidor.
Poco más, el siguiente paso es crear los scripts necesarios con [GreaseMonkey](https://addons.mozilla.org/ca/firefox/addon/greasemonkey/) (en Firefox) o [TamperMonkey](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=ca) (en Chrome) o alguna parecida, importando el script de utilidades si se quiere.
## Licencia
Sin licencia.