Search results for "user:apify example"
13 items found
Legacy PhantomJS Crawler
Example showing how to use headless Chromium with Puppeteer to open a web page, determine its dimensions, save a screenshot and print the page to PDF. For more information about Puppeteer, please see https://github.com/GoogleChro...
Example act using PHP as the main language.
Example of loading a web page in headless Chrome using Selenium Webdriver.
Example Process Crawl Results
Example act that iterates through all results from a crawler run and counts them. The act shall be called from the crawler's finish webhook. To do so, simply add the following URL to the finish webhook of your crawler: https://ap...
Simple example showing how to call another act. It doesn't accept any input and doesn't generate any output.
Example Live View
This actor serves as an example of a crawling run using the Live View feature. It crawls through Hacker News page by page and you may inspect any of the pages' screenshot or HTML in the Live View panel.
Example Golden Gate Webcam
Example act that opens a webpage with Golden Gate webcam stream. It takes a screenshot from the stream and saves it as output to key-value store. You can easily use it as API that returns a screenshot with: https://api.apify.com/v...
An example of a simple Apify actor. It takes a greeting message on input, prints it and stores a new message to output.
Example Web Server
This example demonstrates how to use web server in actor as communication channel with outer world. Read article about this crawler in Apify knowledge base: https://kb.apify.com/actor/running-a-web-server
This act simply counts from one up. In each run it prints one number. Its state (counter position) is stored in named key-value store. Name of the store is example-counter and you can find in Apify app under the Storages.
Example using GitHub Gist
Example of an Apify actor with source code in a GitHub Gist. This is useful for small projects that have multiple source code files, where creating a full Git repository does not make sense and you don't feel like hosting the sour...
Webpage screenshot downloader
Generates a screenshot of a webpage on a specified URL. The screenshot is stored to the default key-value store as the output.