@koalarx/scrapping 2.0.2 → 2.0.3
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/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -128,7 +128,7 @@ const dados = await page.getDatatable<DadosTabela>('#example', {
|
|
|
128
128
|
// Extrai todas as páginas automaticamente!
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
📝 **Exemplo prático:** Ver [get-datatable.spec.ts](lib/test/get-datatable.spec.ts)
|
|
131
|
+
📝 **Exemplo prático:** Ver [get-datatable-with-paginator.spec.ts](https://github.com/igordrangel/koala-scrapping/blob/main/lib/test/get-datatable-with-paginator.spec.ts)
|
|
132
132
|
|
|
133
133
|
### Download de Arquivos
|
|
134
134
|
|
|
@@ -141,7 +141,7 @@ const arquivos = await page.getDownloadedFiles()
|
|
|
141
141
|
console.log(arquivos[0]) // Buffer do arquivo
|
|
142
142
|
```
|
|
143
143
|
|
|
144
|
-
📝 **Exemplo prático:** Ver [download-file.spec.ts](lib/test/download-file.spec.ts)
|
|
144
|
+
📝 **Exemplo prático:** Ver [download-file.spec.ts](https://github.com/igordrangel/koala-scrapping/blob/main/lib/test/download-file.spec.ts)
|
|
145
145
|
|
|
146
146
|
### Interação com Frames e iFrames
|
|
147
147
|
|
|
@@ -181,7 +181,7 @@ const conteudo = await frame.content('#resultado p')
|
|
|
181
181
|
console.log(conteudo)
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
-
📝 **Exemplo prático:** Ver [frame-interaction.spec.ts](lib/test/frame-interaction.spec.ts)
|
|
184
|
+
📝 **Exemplo prático:** Ver [frame-interaction.spec.ts](https://github.com/igordrangel/koala-scrapping/blob/main/lib/test/frame-interaction.spec.ts)
|
|
185
185
|
|
|
186
186
|
### Web Scraping Completo
|
|
187
187
|
|
|
@@ -210,7 +210,7 @@ const conteudo = await page.content('#mw-content-text p')
|
|
|
210
210
|
console.log(conteudo) // Array com paragrafos
|
|
211
211
|
```
|
|
212
212
|
|
|
213
|
-
📝 **Exemplo prático:** Ver [search-wikipidea.spec.ts](lib/test/search-wikipidea.spec.ts)
|
|
213
|
+
📝 **Exemplo prático:** Ver [search-wikipidea.spec.ts](https://github.com/igordrangel/koala-scrapping/blob/main/lib/test/search-wikipidea.spec.ts)
|
|
214
214
|
|
|
215
215
|
## Configuração Avançada
|
|
216
216
|
|
package/package.json
CHANGED