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.
mega_bomb.py
.pip install playwright
playwright install
Run the script from a terminal using:
python mega_bomb.py <directory> <interval_in_seconds> (--url <mega_link> | --links-file <file>)
directory
– Path to a folder containing files to upload.interval
– Number of seconds to wait between uploads.--url
– A single MEGA file request link.--links-file
– Path to a text file containing one MEGA link per line.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