Skip to content

Pi3-l22/Lanzou_Download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lanzou Cloud Batch Downloader

English | 简体中文

A Python script for batch downloading files from Lanzou Cloud (蓝奏云).

For a detailed introduction to the project, please see my blog post: Pi3's Notes

Features

  • Supports downloading from multiple Lanzou Cloud links
  • Handles password-protected links
  • Creates separate folders for each download link
  • Utilizes multi-threading for faster downloads
  • Customizable download path

Requirements

  • Python 3.x
  • Required Python packages:
    • requests
    • beautifulsoup4

Installation

  1. Clone this repository:
    git clone https://github.com/Pi3-l22/Lanzou_Download.git
  2. Install the required packages:
    pip install requests beautifulsoup4

Usage

  1. Edit the download_path in main.py to set your desired download location:

    download_path = r'D:\LanzouDownloads\\'
  2. Create a text file named File_Link.txt in the same directory as main.py. Format the file as follows:

    Title1[FolderName1]
    https://wwvd.lanzoul.com/b030ok9y
    密码:9cj9
    Title2[FolderName2]
    https://wwvd.lanzoul.com/b030q0ge
    密码:hktq
  3. Run the script:

    python main.py

How It Works

  1. The script reads the Lanzou Cloud links and passwords from the text file.
  2. For each link, it:
    • Retrieves necessary parameters from the webpage
    • Sends a POST request to get file IDs and names
    • Obtains download URLs for each file
    • Creates a folder for the download
    • Uses multi-threading to download all files in parallel

Note

This script is for educational purposes only. Please respect the terms of service of Lanzou Cloud and the copyright of the files you're downloading.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

LanZou Batch Download Share File

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages