1.0.5 • Published 3 months ago

@sumanreddy/url-fetcher v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@sumanreddy/url-fetcher

A powerful URL fetcher and crawler library that discovers and extracts valid URLs from the web.

Installation

npm install @sumanreddy/url-fetcher

Usage

import { fetchUrls } from "@sumanreddy/url-fetcher";

// Fetch 10 URLs
const urls = await fetchUrls(10);
console.log(urls);

// Fetch default number of URLs
const moreUrls = await fetchUrls();
console.log(moreUrls);

CLI Usage

node src/index.js 5  # Fetch 5 URLs

Features

  • Configurable URL count
  • Smart crawling with retry mechanism
  • Domain diversity control
  • Bot detection avoidance
  • Respects robots.txt and site policies
1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago