n8n-nodes-seo-scanner 1.2.36 → 1.2.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +143 -82
- package/dist/SeoScanner.node.js +368 -9
- package/dist/SeoScanner.node.js.map +1 -1
- package/dist/analyzeUtils.js +29 -55
- package/dist/analyzeUtils.js.map +1 -1
- package/dist/networkUtils.d.ts +12 -7
- package/dist/networkUtils.js +285 -100
- package/dist/networkUtils.js.map +1 -1
- package/dist/nodes/SeoScanner/SeoScanner.node.js +368 -9
- package/dist/nodes/SeoScanner/analyzeUtils.js +29 -55
- package/dist/nodes/SeoScanner/networkUtils.js +285 -100
- package/dist/types.d.ts +2 -0
- package/package.json +11 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 OXSR
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,82 +1,143 @@
|
|
|
1
|
-
# n8n-nodes-seo-scanner
|
|
2
|
-
|
|
3
|
-
Nodo
|
|
4
|
-
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
1
|
+
# n8n-nodes-seo-scanner
|
|
2
|
+
|
|
3
|
+
Nodo comunitario de n8n para auditorias SEO tecnicas con marca UOPIX. Analiza una URL, puede rastrear paginas internas del mismo dominio y devuelve un JSON estructurado con problemas, avisos, checks correctos, recomendaciones y un informe HTML tipo dashboard.
|
|
4
|
+
|
|
5
|
+
## Que hace
|
|
6
|
+
|
|
7
|
+
- Audita una pagina web a partir de una URL absoluta.
|
|
8
|
+
- Puede rastrear URLs internas descubiertas en enlaces y sitemaps.
|
|
9
|
+
- Permite forzar paginas obligatorias, excluir patrones y silenciar fallos concretos.
|
|
10
|
+
- Detecta problemas SEO tecnicos, accesibilidad basica, enlaces rotos, headers de seguridad y metadatos sociales.
|
|
11
|
+
- Puede renderizar JavaScript con Puppeteer para webs React, Vue, Angular u otras SPAs.
|
|
12
|
+
- Genera un informe HTML listo para responder desde un Webhook de n8n.
|
|
13
|
+
- Puede enviar el resultado final a una API externa mediante callback.
|
|
14
|
+
- Soporta salida en ingles o espanol para los textos generados y el informe HTML.
|
|
15
|
+
- Limita rafagas por dominio, respeta `Retry-After` y reintenta de forma acotada errores temporales (`403`, `429` y `5xx`).
|
|
16
|
+
- Usa un User-Agent identificable en Wikimedia y un fallback ligero de navegador solo ante paginas de bloqueo que requieren JavaScript.
|
|
17
|
+
|
|
18
|
+
## Comprobaciones principales
|
|
19
|
+
|
|
20
|
+
- Estado HTTP, HTTPS y redirecciones.
|
|
21
|
+
- Title, meta description, viewport, robots y canonical.
|
|
22
|
+
- H1, estructura de headings y conteo aproximado de palabras.
|
|
23
|
+
- Imagenes sin `alt`, enlaces internos y externos, y enlaces rotos.
|
|
24
|
+
- Open Graph, JSON-LD, favicon, charset y atributo `lang`.
|
|
25
|
+
- Hreflang, idioma detectado y coherencia basica multidioma.
|
|
26
|
+
- Robots.txt, sitemap, DNS, CDN, SSL y geolocalizacion tecnica.
|
|
27
|
+
- Headers de seguridad y buenas practicas web.
|
|
28
|
+
- CMS, plugins y tecnologias detectadas cuando hay senales suficientes.
|
|
29
|
+
- Score 0-100, resumen por severidad y recomendaciones accionables.
|
|
30
|
+
|
|
31
|
+
## Instalacion desde GitHub
|
|
32
|
+
|
|
33
|
+
En una instalacion local de n8n:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
cd ~/.n8n/nodes
|
|
37
|
+
npm install github:OXSR/n8n-nodes-seo-scanner
|
|
38
|
+
n8n start
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
En Windows PowerShell:
|
|
42
|
+
|
|
43
|
+
```powershell
|
|
44
|
+
New-Item -ItemType Directory -Force "$env:USERPROFILE\.n8n\nodes"
|
|
45
|
+
Set-Location "$env:USERPROFILE\.n8n\nodes"
|
|
46
|
+
npm install github:OXSR/n8n-nodes-seo-scanner
|
|
47
|
+
n8n start
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Tambien puedes cargarlo como extension local durante el desarrollo:
|
|
51
|
+
|
|
52
|
+
```powershell
|
|
53
|
+
cd C:\Users\oriol\.n8n\custom\n8n-nodes-seo-scanner
|
|
54
|
+
npm install
|
|
55
|
+
npm run build
|
|
56
|
+
$env:N8N_CUSTOM_EXTENSIONS="C:\Users\oriol\.n8n\custom\n8n-nodes-seo-scanner"
|
|
57
|
+
n8n start
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Despues de instalar o actualizar el nodo, reinicia n8n y recarga el editor.
|
|
61
|
+
|
|
62
|
+
## Uso en n8n
|
|
63
|
+
|
|
64
|
+
1. Anade el nodo **SEO UOPIX** al workflow.
|
|
65
|
+
2. Introduce la **URL de la pagina** que quieres analizar.
|
|
66
|
+
3. Activa **Escanear todo el sitio** si quieres analizar tambien paginas internas.
|
|
67
|
+
4. Ajusta el limite de paginas, timeout, user-agent, idioma de salida y opciones de detalle.
|
|
68
|
+
5. Ejecuta el nodo y usa la salida JSON en tus siguientes pasos.
|
|
69
|
+
|
|
70
|
+
Campos utiles:
|
|
71
|
+
|
|
72
|
+
- **URL de la pagina**: URL absoluta, por ejemplo `https://example.com/pagina`.
|
|
73
|
+
- **Escanear todo el sitio**: rastrea URLs internas del dominio.
|
|
74
|
+
- **Limite de paginas a escanear**: controla el tamano del crawl.
|
|
75
|
+
- **Paginas obligatorias a escanear**: URLs del mismo dominio que siempre se incluyen.
|
|
76
|
+
- **Excluir URLs que contengan**: patrones para no rastrear rutas concretas.
|
|
77
|
+
- **Ignorar fallos / paginas**: filtra mensajes o URLs conocidas.
|
|
78
|
+
- **Usar JavaScript Rendering**: usa Puppeteer para contenido renderizado por cliente.
|
|
79
|
+
- **Proteccion ante bloqueos**: el nodo aplica pausas cortas por dominio y evita repetir el sondeo pesado de recursos en cada pagina interna.
|
|
80
|
+
- **Output Language**: `English` o `Spanish`.
|
|
81
|
+
- **Generar informe HTML**: agrega `html` y `reportHtml` a la salida.
|
|
82
|
+
- **Enviar resultados a API externa**: hace POST a una URL de callback al terminar.
|
|
83
|
+
|
|
84
|
+
## Salida
|
|
85
|
+
|
|
86
|
+
La salida principal incluye:
|
|
87
|
+
|
|
88
|
+
- `mainPage`: analisis completo de la URL principal.
|
|
89
|
+
- `internalPages`: analisis de paginas internas cuando el crawl esta activo.
|
|
90
|
+
- `internalScanSummary`: resumen del rastreo interno.
|
|
91
|
+
- `severitySummary`: conteos por severidad.
|
|
92
|
+
- `issues`, `warnings`, `passed` y `recommendations`.
|
|
93
|
+
- `score`: puntuacion SEO de 0 a 100.
|
|
94
|
+
- `html` y `reportHtml`: informe HTML cuando esta activado.
|
|
95
|
+
|
|
96
|
+
El export JSON no se traduce por diseno: mantiene nombres de campo estables para automatizaciones.
|
|
97
|
+
|
|
98
|
+
## Informe HTML
|
|
99
|
+
|
|
100
|
+
Para servir el informe desde n8n:
|
|
101
|
+
|
|
102
|
+
1. Crea un workflow con **Webhook** -> **SEO UOPIX** -> **Respond to Webhook**.
|
|
103
|
+
2. En **SEO UOPIX**, activa **Generar informe HTML**.
|
|
104
|
+
3. En **Respond to Webhook**, usa:
|
|
105
|
+
- **Respond With**: `Text`
|
|
106
|
+
- **Response Body**: `{{ $json.html }}`
|
|
107
|
+
4. Activa el workflow y abre la URL del webhook.
|
|
108
|
+
|
|
109
|
+
Si tu version de n8n muestra el HTML dentro de un iframe con sandbox y ves una pantalla en blanco, puedes usar `N8N_INSECURE_DISABLE_WEBHOOK_IFRAME_SANDBOX=true` en entornos self-hosted controlados.
|
|
110
|
+
|
|
111
|
+
## Credenciales UOPIX
|
|
112
|
+
|
|
113
|
+
El nodo incluye credenciales **SEO UOPIX API**:
|
|
114
|
+
|
|
115
|
+
- `API Key`: clave personal generada en UOPIX.
|
|
116
|
+
- `App Base URL`: URL base que valida la API key, por defecto `https://uopix.com`.
|
|
117
|
+
|
|
118
|
+
Estas credenciales se usan cuando el flujo necesita validar o consumir usos de API asociados a UOPIX.
|
|
119
|
+
|
|
120
|
+
## Desarrollo
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
npm install
|
|
124
|
+
npm run build
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Archivos principales:
|
|
128
|
+
|
|
129
|
+
- `nodes/SeoScanner/SeoScanner.node.ts`: definicion del nodo y ejecucion.
|
|
130
|
+
- `nodes/SeoScanner/analyzeUtils.ts`: analisis SEO de pagina.
|
|
131
|
+
- `nodes/SeoScanner/reportUtils.ts`: salida e informe HTML.
|
|
132
|
+
- `nodes/SeoScanner/uopix-mark.svg`: icono del nodo.
|
|
133
|
+
- `dist/nodes/SeoScanner`: build que carga n8n.
|
|
134
|
+
|
|
135
|
+
Antes de publicar cambios:
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
npm run build
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
## Licencia
|
|
142
|
+
|
|
143
|
+
MIT
|