MEGA FileRequest 'aper

This script automatically uploads random files from a given directory to one or more MEGA file request links at a specified time interval. It uses Playwright for browser automation.

Requirements

Setup

  1. Download the script and save it as mega_bomb.py.
  2. Open a terminal in the script’s folder.
  3. Install dependencies:
    pip install playwright
  4. Install browser binaries for Playwright:
    playwright install
  5. Make sure you have a folder with files to upload.

Usage

Run the script from a terminal using:

python mega_bomb.py <directory> <interval_in_seconds> (--url <mega_link> | --links-file <file>)

Arguments

Examples

Upload files every 2 seconds to one MEGA link:

python mega_uploader.py ./gems 2 --url https://mega.nz/filerequest/EXAMPLE

Upload files every 1 second to multiple MEGA links stored in links.txt:

python mega_uploader.py ./random_garbage 1 --links-file links.txt

Notes