Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

scribd-scraper

joaqmiu37MIT1.0.5

This tool scrapes Scribd, downloading images from pages

scribd, scraper, download, images, pages, web scraping, cheerio, axios, nodejs, automation, pdf, data extraction, page capture, content scraping, scribd downloader

readme

scribd-scraper

This tool scrapes Scribd documents, downloading images from each page and converting to PDF.

How to use

Install the package:

npm i scribd-scraper

Examples

Only download images

const scrapeScribd = require('scribd-scraper');

const url = 'https://pt.scribd.com/document/477711709/1990-02-mara-maravilha-pdf';
const dir = './images';

scrapeScribd(url, dir)
  .then(() => {
    console.log("Images downloaded successfully.");
  })
  .catch((error) => {
    console.error("Error:", error.message);
  });

Download and convert to PDF

const scrapeScribd = require('scribd-scraper');

const url = 'https://pt.scribd.com/document/477711709/1990-02-mara-maravilha-pdf';
const dir = './images';
const pdf = true;

scrapeScribd(url, dir, pdf)
  .then(() => {
    console.log("Images downloaded and converted to PDF successfully.");
  })
  .catch((error) => {
    console.error("Error:", error.message);
  });