Open Directory Link Scraper avatar

Open Directory Link Scraper

Pricing

from $9.99 / 1,000 results

Go to Apify Store
Open Directory Link Scraper

Open Directory Link Scraper

Open Directory Link Scraper is an Apify Actor that extracts all hyperlinks from web pages and open directory listings. It can recursively crawl directory trees or same-host links, filter files by extension, and returns clean, absolute URLs with metadata such as file type and source page.

Pricing

from $9.99 / 1,000 results

Rating

0.0

(0)

Developer

Jamshaid Arif

Jamshaid Arif

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

Open Directory Link Scraper (Apify Actor)

Extracts every hyperlink from any page or "index of" open directory, resolved to absolute URLs. Optionally filters by file extension and recurses into directory trees or same-host links.

Input

FieldDescription
startUrlsPages / open-directory URLs to scrape
extensionsKeep only links ending in these, e.g. ["pdf","zip"] (empty = all)
recursiveFollow subdirectory links in "index of" listings
followSameHostLinksFollow ANY same-host link — turns it into a bounded crawler
maxDepthLink-hops from a start URL (0 = start URLs only)
maxPagesHard cap on pages fetched for the whole run
dedupeLinksEmit each distinct URL only once
proxyConfigurationOptional — most open directories need none
requestDelaySecsPause between fetches (default 0.5)

Output

{
"text": "report-2024.pdf",
"url": "https://files.example.com/docs/report-2024.pdf",
"extension": "pdf",
"is_directory": false,
"source_url": "https://files.example.com/docs/"
}

Modes

  • List one page's links (default) — no recursion, just the start URLs.
  • Harvest an open directory — set recursive: true to walk index of subdirectories and collect every file link. Pair with extensions to grab, say, only pdf or mp3 files.
  • Bounded same-host crawl — set followSameHostLinks: true to follow any same-host link up to maxDepth / maxPages.

The crawler never leaves the start URL's host, skips mailto:/tel:/anchor links, and ignores the sort/parent links common in Apache/nginx directory listings.