Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 344 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 344 Bytes

Image Scrapper

A server-side library-like js project to extract images from a web page.

Usage

const { getHtml, createUrl, getImageLinks } = require('image-scrapper');
const url = 'https://www.google.com';
const htmlBody = await getHtml(createUrl(url));

const links = getImageLinks(htmlBody, url);

console.log(links);