Zip Download and Extraction Scraper avatar
Zip Download and Extraction Scraper
Under maintenance

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Zip Download and Extraction Scraper

Zip Download and Extraction Scraper

Under maintenance

This downloads a zip file from a provided URL and extracts its contents to a specified folder in the key-value store.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

Balasai Sigireddy

Balasai Sigireddy

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Zip Downloader and Extractor

This Actor downloads a zip file from a provided URL and extracts its contents to a specified folder in the key-value store. It's built with Apify SDK for reliable file handling and data storage.

Included features

How it works

The Actor takes a URL to a zip file and an optional folder name as input. It downloads the zip file asynchronously, extracts all files (skipping directories), and stores each file in the key-value store under the specified folder. Metadata about each extracted file (filename, size, folder) is pushed to the dataset for easy access and review.

Input

  • url (string, required): URL of the zip file to download
  • folder (string, optional): Folder name in key-value store to extract files to (default: "extracted")

Output

  • Dataset: Contains records for each extracted file with filename, size, and folder
  • Key-value store: Contains the extracted files stored with keys like folder/filename

Resources

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: