Franchise Directories Scraper (Franchise Direct)
Pricing
$10.00 / 1,000 listing founds
Franchise Directories Scraper (Franchise Direct)
Pulls publicly listed franchise opportunity listings from franchisedirect.com category pages: title, minimum investment (price), category, link and optional location.
Pricing
$10.00 / 1,000 listing founds
Rating
0.0
(0)
Developer
Korhan Coşan Ergün
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Franchise Directories Scraper (franchisedirect.com)
Pulls publicly listed franchise opportunity listings with title, minimum investment (price), category and link; optionally also extracts the location from the detail page.
Why franchisedirect.com and not bizbuysell.com?
The task description gave abotapi/bizbuysell-scraper as a competing
example. Checked on 9 November 2026: bizbuysell.com is protected by
Akamai bot management and rejects every kind of automated request (plain
curl/httpx as well as a real Chromium browser session) with
"Access Denied" at the edge level — including the request for
robots.txt itself. Since even robots.txt is unreachable, compliance with
its rules cannot be tested — the site is already technically closed to
access. On top of that, the bizbuysell.com Terms of Use page contains the
industry-standard general clause banning automated data collection/bots.
For that reason, in line with the task instruction, the actor switched to a
publicly accessible alternative franchise directory.
franchisedirect.com robots.txt (verified 9 November 2026):
- For the generic
User-agent: *all paths are allowed, with only aCrawl-delay: 30seconds requirement. - Only certain aggressive SEO/data bots (AhrefsBot, SemrushBot, MJ12bot, Yandex, Baiduspider, etc.) are fully blocked — this actor is not one of them.
- Query parameters such as
?sort=,?filter=,?page=and the paths/tag/,/preview/,/draft/,/search?are on the disallow list — this actor does not use them, it only pulls plain category pages (like/foodfranchises/14).
This actor checks robots.txt with RobotsChecker before every request and
skips the URL if it is not allowed; RespectfulClient honours the
robots.txt crawl delay (30s) between requests per host.
Data source and method
The page is server-side rendered (no JavaScript needed — verified: the
HTML fetched with a plain httpx request contains the same .ProfilePromo
listing cards as the browser). It is parsed with BeautifulSoup. No
login/signup/payment form is used; only publicly accessible category
listing pages.
Input
| Field | Description |
|---|---|
categoryUrls | franchisedirect.com category page URLs |
maxItemsPerCategory | Maximum listings per category |
fetchLocation | If true, the detail page is fetched for every listing as well (the "Available Locations" field). Because of the robots.txt crawl-delay=30s this is slow (~30s per listing), so use it for small numbers of listings. |
Output (each record)
{"id": "www.franchisedirect.com/food-franchises/pure-green","title": "Pure Green","link": "https://www.franchisedirect.com/food-franchises/pure-green/","date": null,"source_url": "https://www.franchisedirect.com/foodfranchises/14","scraped_at": "2026-11-10T00:28:36Z","source": "franchisedirect.com","category": "Find Food Franchise Opportunities for Sale | Franchise Direct","price_min_usd": 100000,"price_text": "$100,000","location": "Opportunities available throughout the US.","description": "Pure Green Franchise is on a mission to build healthier communities..."}
sample_output.json contains 13 records taken from a real local run:
5 from the Food Franchises category (including location, detail page
fetched) + 8 from the Cleaning Franchises category (without location, fast
mode).
Pricing (PPE)
A listing-found event is fired for every listing found
(Actor.charge("listing-found")).
Local run
cd ~/rua/products/apify/franchise-directoriesmkdir -p storage/key_value_stores/defaultcat > storage/key_value_stores/default/INPUT.json <<'EOF'{"categoryUrls": ["https://www.franchisedirect.com/foodfranchises/14"], "maxItemsPerCategory": 5, "fetchLocation": false}EOFAPIFY_LOCAL=1 python3 main.py# output: storage/datasets/default/*.json
Known limitations
fetchLocation=trueis slow because of the ~30 second crawl delay per listing; keeping it off is recommended for high-volume runs.- The location is usually a general phrase such as "throughout the US"; bizbuysell-style city/state-level specific locations do not exist on this site (franchise directories list brands/opportunities, not individual business-for-sale listings like bizbuysell).
- The price field is the "minimum investment" (the cost of opening a franchise), which is not exactly the same thing as bizbuysell's "asking price" — this niche difference should be noted in the report.