Skip to content
This repository was archived by the owner on Oct 19, 2019. It is now read-only.

Commit 72cb908

Browse files
committed
Fix example script
1 parent 5dbdda1 commit 72cb908

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const { scrapers } = require('source-scraper');
4646

4747
(async () => {
4848
const url = 'some url';
49-
const scraper = scrapers.getFirstApplicable(url);
49+
const scraper = scrapers.all.getFirstApplicable(url);
5050
const scrap = await scraper.scrap(url);
5151
if (scrap.success)
5252
console.log(scrap.data);

packages/source-scraper/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const { scrapers } = require('source-scraper');
4646

4747
(async () => {
4848
const url = 'some url';
49-
const scraper = scrapers.getFirstApplicable(url);
49+
const scraper = scrapers.all.getFirstApplicable(url);
5050
const scrap = await scraper.scrap(url);
5151
if (scrap.success)
5252
console.log(scrap.data);

0 commit comments

Comments
 (0)