VOOZH about

URL: https://apify.com/kaidev/fotocasa-scrapper

⇱ Fotocasa Scrapper Β· Apify


Pricing

$10.00 / 1,000 anuncios

Go to Apify Store

This script automates data extraction from fotocasa.es, collecting property details like price, location, features, and images for analysis and market research.

Pricing

$10.00 / 1,000 anuncios

Rating

0.0

(0)

Developer

πŸ‘ Kaidev

Kaidev

Maintained by Community

Actor stats

1

Bookmarked

24

Total users

1

Monthly active users

4 months ago

Last modified

Share

JavaScript PuppeteerCrawler Actor template

This template is a production ready boilerplate for developing with PuppeteerCrawler. The PuppeteerCrawler provides a simple framework for parallel crawling of web pages using headless Chrome with Puppeteer. Since PuppeteerCrawler uses headless Chrome to download web pages and extract data, it is useful for crawling of websites that require to execute JavaScript.

If you're looking for examples or want to learn more visit:

Included features

  • Puppeteer Crawler - simple framework for parallel crawling of web pages using headless Chrome with Puppeteer
  • Configurable Proxy - tool for working around IP blocking
  • Input schema - define and easily validate a schema for your Actor's input
  • Dataset - store structured data where each object stored has the same attributes
  • Apify SDK - toolkit for building Actors

How it works

  1. Actor.getInput() gets the input from INPUT.json where the start urls are defined

  2. Create a configuration for proxy servers to be used during the crawling with Actor.createProxyConfiguration() to work around IP blocking. Use Apify Proxy or your own Proxy URLs provided and rotated according to the configuration. You can read more about proxy configuration here.

  3. Create an instance of Crawlee's Puppeteer Crawler with new PuppeteerCrawler(). You can pass options to the crawler constructor as:

    • proxyConfiguration - provide the proxy configuration to the crawler
    • requestHandler - handle each request with custom router defined in the routes.js file.
  4. Handle requests with the custom router from routes.js file. Read more about custom routing for the Cheerio Crawler here

    • Create a new router instance with new createPuppeteerRouter()

    • Define default handler that will be called for all URLs that are not handled by other handlers by adding router.addDefaultHandler(() => { ... })

    • Define additional handlers - here you can add your own handling of the page

      router.addHandler('detail',async({ request, page, log })=>{
      const title =await page.title();
      // You can add your own page handling here
      await Dataset.pushData({
      url: request.loadedUrl,
      title,
      });
      });
  5. crawler.run(startUrls); start the crawler and wait for its finish

Resources

If you're looking for examples or want to learn more visit:

Getting started

For complete information see this article. To run the Actor use the following command:

$apify run

Deploy to Apify

Connect Git repository to Apify

If you've created a Git repository for the project, you can easily connect to Apify:

  1. Go to Actor creation page
  2. Click on Link Git Repository button

Push project on your local machine to Apify

You can also deploy the project on your local machine to Apify without the need for the Git repository.

  1. Log in to Apify. You will need to provide your Apify API Token to complete this action.

    $apify login
  2. Deploy your Actor. This command will deploy and build the Actor on the Apify Platform. You can find your newly created Actor under Actors -> My Actors.

    $apify push

Documentation reference

To learn more about Apify and Actors, take a look at the following resources:

You might also like

Fotocasa Scraper

gio21/fotocasa-scraper

Scrape real-estate listings from Fotocasa (fotocasa.es) - Spain's top property portal. Price, price/mΒ², area, rooms, features, agency, images. Pay per listing.

Fotocasa Property Scraper

shahidirfan/fotocasa-property-scraper

Extract property listings from Fotocasa with ease. Scrape prices, locations, features, and agent details from Spain's leading real estate platform. Perfect for market analysis, price monitoring, competitor tracking, and investment research. Automate your property data extraction today.

23

5.0

$1/1K πŸ’™ Fotocasa.es Real Estate Scraper & Data Extractor API

azzouzana/fotocasa-es-search-results-scraper-by-search-url-ppr

Looking for a fast, reliable Fotocasa Scraper? Extract comprehensive property listings from Fotocasa.es search pages effortlessly. Get full details including pricing, square meters, features, and contact info via API/JSON/CSV/Excel. Bring your search URL and you're good to go - just $$1/1K results!

148

5.0

Fotocasa Property Search Scraper

stealth_mode/fotocasa-property-search-scraper

Efficiently scrape property listings from Fotocasa.es, Spain's leading real estate platform. Extract comprehensive data including prices, features, locations, agent details, and multimedia content. Perfect for real estate market analysis, property valuation, competitive intelligence.

46

Fotocasa Scraper

parsebird/fotocasa-scraper

Extract property listings from Fotocasa.es, Spain's largest real estate portal. Scrape prices, rooms, area, GPS coordinates, agency contacts, and images. Filter by location, operation, property type, price range, size, and publication date. Export as JSON, CSV, or Excel. API access included.

Fotocasa Property Details Scraper

stealth_mode/fotocasa-property-details-scraper

Scrape comprehensive property listings from Fotocasa.es, Spain's leading real estate platform. Extract detailed property information including descriptions, prices, features, energy certificates, agency contacts, and multimedia assets. Perfect for real estate agencies, property investors, analysts.

Fotocasa Scraper β€” Spain Real Estate Listings & Prices

studio-amba/fotocasa-scraper

Scrape real estate listings from fotocasa.es β€” Spain's leading property portal. Extract prices, photos, GPS coordinates, property details, and agency info for apartments, houses, and more. No login required.

Fotocasa.es - Spanish Real Estate

swerve/fotocasa-scraper

Scrape fotocasa.es real estate listings from Spain. Returns price, rooms, area, location, agency, image gallery, and listing age for sale and rent listings across all Spanish cities.

Fotocasa.es $1πŸ’° Buy, Rent & Property Details

abotapi/fotocasa-es-scraper

From $1/1K. Scrape Spain property listings from fotocasa.es. Get price, surface, rooms, baths, address, GPS, agency, phone, energy rating, photos and 140+ fields. Buy and rent, all regions, all property types.

Fotocasa

ralvaromariano/fotocasa

Searching for a property in Spain? Fotocasa simplifies the process with over 1 million listings of homes and apartments for sale or rent. List your property privately for free.

πŸ‘ User avatar

Álvaro Rodríguez

72

5.0