mirror of
https://github.com/NikolaiT/se-scraper.git
synced 2025-06-24 19:41:31 +02:00
need to edit readme
This commit is contained in:
parent
35943e7449
commit
d4d06f7d67
@ -74,6 +74,8 @@ export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
|
|||||||
Create a file named `minimal.js` with the following contents
|
Create a file named `minimal.js` with the following contents
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
const se_scraper = require('se-scraper');
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
let scrape_job = {
|
let scrape_job = {
|
||||||
search_engine: 'google',
|
search_engine: 'google',
|
||||||
@ -94,6 +96,8 @@ Start scraping by firing up the command `node minimal.js`
|
|||||||
Create a file named `run.js` with the following contents
|
Create a file named `run.js` with the following contents
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
const se_scraper = require('se-scraper');
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
let browser_config = {
|
let browser_config = {
|
||||||
debug_level: 1,
|
debug_level: 1,
|
||||||
@ -125,6 +129,8 @@ Start scraping by firing up the command `node run.js`
|
|||||||
**se-scraper** will create one browser instance per proxy. So the maximal amount of concurrency is equivalent to the number of proxies plus one (your own IP).
|
**se-scraper** will create one browser instance per proxy. So the maximal amount of concurrency is equivalent to the number of proxies plus one (your own IP).
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
const se_scraper = require('se-scraper');
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
let browser_config = {
|
let browser_config = {
|
||||||
debug_level: 1,
|
debug_level: 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user