Automate Video File Downloads with Airtop.ai and n8n
detail.loadingPreview
Streamline your process of downloading video files from websites. This workflow leverages Airtop.ai's browser automation capabilities integrated with n8n to reliably extract and download media content.
About This Workflow
This n8n workflow automates the process of downloading video files from web pages, specifically from sample.cat. It utilizes Airtop.ai to control a browser instance, navigate to a target URL, locate and click a download button, and then retrieve the generated file. The workflow includes a crucial wait step to ensure the file is ready, followed by fetching file metadata and the file itself. Finally, it terminates the browser session to conserve resources. This solution is ideal for users needing to systematically acquire video assets for various purposes, such as data analysis, content archiving, or media aggregation.
Key Features
- Automated Browser Control: Uses Airtop.ai to simulate user interactions like opening URLs and clicking buttons.
- Reliable File Retrieval: Includes steps for waiting, checking file availability, and downloading.
- Resource Management: Automatically terminates browser sessions after task completion.
- Customizable Targets: Easily adaptable to different websites and downloadable files by modifying URL and element selectors.
How To Use
- Set up Airtop.ai Credentials: Ensure you have your Airtop API key configured within n8n.
- Connect Nodes: Link the 'Session' node to 'Window', 'Window' to 'Click on download button', 'Click on download button' to 'Wait', 'Wait' to 'Get file data', and 'Get file data' to 'Download file'. Connect 'Session' to 'Terminate' as well.
- Configure Nodes:
- Session: No specific configuration needed if credentials are set.
- Window: Set the
urlto the target webpage (e.g.,https://sample.cat/en/webm). - Click on download button: Use the
elementDescriptionto accurately target the download button (e.g., 'Blue download button for file "SD 640x360 (Seawater, drone view video, 30 FPS)"'). - Wait: Adjust the
amount(in seconds) if longer processing times are expected. - Get file data: This node will automatically pick up the session ID. Ensure
outputSingleItemis set tofalseif multiple files might be present. - Download file: This node uses an expression
={{ $json.id }}to dynamically get the file ID from the previous step. - Terminate: No specific configuration needed.
- Trigger Workflow: Click 'Test workflow' to run the automation.
Apps Used
Workflow JSON
{
"id": "60f0ad6b-3c35-4d37-9c60-b4fb29f106fa",
"name": "Automate Video File Downloads with Airtop.ai and n8n",
"nodes": 15,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 60f0ad6b-3c35...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.
Visualize Your n8n Workflows: Interactive Dashboard with Mermaid.js
Gain unparalleled visibility into your n8n automation landscape. This workflow transforms your n8n instance into a dynamic, interactive dashboard, leveraging Mermaid.js to visualize all your workflows in one accessible place.