Skip to content

Instantly share code, notes, and snippets.

View osama865's full-sized avatar
🎯

Osama osama865

🎯
View GitHub Profile
@osama865
osama865 / pdf-finder.js
Created November 1, 2022 06:05 — forked from h4murabi/pdf-finder.js
Crawler to download all pdf files linked on page with Node
var request = require('request');
var cheerio = require('cheerio');
var fs = require('fs');
var page = 'http://www.tsouanas.org/fmcbook/';
request(page, (err, res, body) => {
console.log("Reading page...");
if (err) {