Gofile Enhanced
GitHub
Greasy Fork

Batch download Gofile files. Supports recursive folder download, Supports direct links. Supports AB Download Manager, Internet Download Manager and Aria2 related download managers.

Usage
Recursive Download
Click the "Recursive Download" button, the script will automatically fetch all files and folder contents.
A window will pop up displaying all file lists, and you can start downloading after confirming everything is correct.
"Recursive Download" can only be used with ABDM and Aria2. "Recursive Download" is still in testing phase.
You need to properly configure the ABDM and Aria2 download directories (absolute paths) in the settings.
If you do not configure the download directory, files may be downloaded to unexpected locations (usually the root directory of your download manager's or your drive's) or refuse to download.

Direct
Direct link download.
Not recommended when there are too many files, a large number of browser tabs will be opened at once.
You need to open Gofile's Site Settings and grant 'Pop-ups and redirects' permission.

ABDM
Directly send download tasks to AB Download Manager.
ABDM is REQUIRED and the browser Integration must be enabled.
Make sure to configure the ABDM port correctly. The default port is 15151.

Aria2
Directly send the download task to the Aria2 downloader via RPC.
You need to properly configure the Aria2 RPC address and secret.
Note that the port for third-party downloaders may differ from the default Aria2 configuration, for example, Motrix uses port 16800 by default.
IDM
Batch export links to an ef2 file, then import it into IDM to add download tasks.
Export IDM specific format - a file with the ".ef2" extension.
In IDM, go to Tasks -> Import -> From 'IDM export file' -> Select the ef2 file.