Skip to content

Script to scrape and download direct download links (ddls) from google drive index.

Notifications You must be signed in to change notification settings

crackerbad/Bhadoo-Index-Downloader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

Bhadoo Google Drive Index Downloader

This script is a Python program that facilitates downloading files from an Google Drive Index. It interacts with the specified index link, retrieves the file information, and downloads the files using the Aria2c download manager.

Credits

Credit goes to sanjit-sinha for creating the Bhadoo-Index-Scraper, which served as the basis for this script.

Prerequisites

Before running the script, ensure that you have the following prerequisites:

  • Python 3.x installed on your system.
  • Aria2c installed on your system. Or download the executable from Aria2 Repository.

Usage

To use the Index Downloader script, follow these steps:

  1. Clone or download the script to your local machine.

  2. Open a terminal or command prompt and navigate to the script's directory.

  3. Run the script using the following command:

python index_downloader.py -i <index_link> [-o <output_folder>] [-u <username>] [-p <password>]

Replace <index_link> with the URL of the index you want to download files from.

Optional arguments:

  • -o, --output <output_folder>: Specify the output folder where the downloaded files will be saved. If not provided, a folder named "Download" will be created in the current directory.
  • -s, --simul <number>: Specify the number of download simultaneous. If not provided, a default number(1) will be used.
  • -u, --user <username>: Provide a username for the index if it requires authentication. If not provided, a default username will be used.
  • -p, --password <password>: Provide a password for the index if it requires authentication. If not provided, a default password will be used.

Example usage:

python index_downloader.py -i http://example.workers.dev/0:/folder/ -o OUTPUT_FOLDER/ -u myusername -p mypassword

Please ensure that protect_file_link is disabled in the settings of your index, otherwise errors may occur when attempting to download the files.

  1. The script will start retrieving the file information from the index. It will display the progress and status of the process in the console.

  2. Once the file information is retrieved, the script will start downloading the files using Aria2c. The downloaded files will be saved in the specified output folder or the default "Download" folder.

About

Script to scrape and download direct download links (ddls) from google drive index.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%