Search results for "user:apify example"
12 items found
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...
Development version of apify/crawler. Unstable, untested.
Simple example showing how to call another act. It doesn't accept any input and doesn't generate any output.
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...
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 Act In Gist
Example of Apify Actor act stored 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.
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 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
Actor serving as an example of Input Schema. Takes URL of website and screenshot configuration parameters as input and outputs a screenshot of the website into Key-Value store.