Skip to content

augusto-mate/drive-magnet-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drive Magnet Flow

Open In Colab License: MIT Python 3.10+

Versão em Português disponível.

Drive Magnet Flow is a powerful and privacy-focused Google Colab notebook designed to streamline the process of downloading magnet links, optionally encrypting the content, and securely uploading it directly to your Google Drive. This project ensures efficient management of your downloads with enhanced security and automatic cleanup.

Features:

  • Magnet Link Downloading: Supports downloading multiple magnet links.
  • Optional Encryption: Encrypt your downloaded content using password-protected ZIP or 7-Zip archives for enhanced privacy.
  • Secure Password Handling: Implements getpass for hidden password input and retry mechanisms for confirmation.
  • Direct Google Drive Upload: Seamlessly uploads encrypted archives (or raw downloads) to your mounted Google Drive using shutil.
  • Automated Local Cleanup: Ensures that all local temporary files and download directories are cleaned up after the process, regardless of upload success.
  • No Rclone Dependency: Optimized for direct Google Drive integration without the need for rclone configuration.
  • Privacy-First Archiving: Encrypted archives are named with a timestamp, ensuring no descriptive words are publicly exposed.
  • Clean Archive Structure: Encrypted ZIP files do not include parent folders (/content/downloads), placing content directly at the archive's root.

How it Works:

  1. Input Magnet Links: Provide one or more magnet links.
  2. Choose Encryption (Optional): Decide whether to encrypt your downloads and select between ZIP or 7-Zip compression.
  3. Set Encryption Password: Enter and confirm a strong password (input is hidden).
  4. Specify Google Drive Destination: Define the subfolder in your Google Drive where files will be uploaded.
  5. Automated Processing: The notebook handles the download, encryption (if chosen), upload, and local cleanup.

Legal Notice

This project is provided for educational and research purposes only and is distributed "as is", without warranty of any kind. Use of this project is at your own risk. The developer does not endorse or support any illegal use, and users are solely responsible for complying with all applicable laws and regulations in their respective jurisdictions.

This project is an independent open-source project and has no official relationship with Google LLC. Google Drive is a trademark of Google LLC. References to "Google Drive" are strictly for descriptive purposes, related to interoperability with the Google Drive service. The project was renamed to avoid any potential trademark confusion.


Author

License

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


Inspiration

"And whatsoever ye do, do it heartily, as to the Lord, and not unto men; Knowing that of the Lord ye shall receive the reward of the inheritance: for ye serve the Lord Christ." (Colossians 3:23-24)

About

This tool provides a robust, automated, privacy-preserving solution for magnet link downloads within the Google Colab environment.

Topics

Resources

License

Stars

Watchers

Forks

Contributors