Python module to download all media from a GoFile gallery.

Overview

GoFile Downloader

Setup

First of all, clone this repository :

~$ git clone https://github.com/quatrecentquatre-404/gofile-downloader

Second, oh wait... There is not a second part, because it does not require any extra module.

Config

Open up the config.json file and fill out fields.

API_KEY : It's required to get the resources URL. You can find it when you're loading the GoFile page, using the dev tool, filtering by XHR, and observing the request. You will find this route : https://api.gofile.io/getAccountDetails?token=THE_API_TOKEN_HERE.

URL : It's the URL of the page you wish to download.

Now, you can figure out by yourself what to put in these quotes to download all the leaks you want.

Run it !

Once you've updated all the config, you can run the script :

python3 tests.py

And there you go !

Thanks !

I hope you enjoy my work. If you do, please, this repository. If you have anything to report or to update, you can open an issue or a pull request, I'll give a look for sure.

Comments
  • GoFIle Issue : Unable to get folder's data from GoFile, API route for premium only.

    GoFIle Issue : Unable to get folder's data from GoFile, API route for premium only.

    Traceback (most recent call last): File "C:\Users_\Desktop\megaloader-main1\test.py", line 13, in main() File "C:\Users_\Desktop\megaloader-main1\test.py", line 9, in main for u in api.fetch_resources(url, password): File "C:\Users__\Desktop\megaloader-main1\plugins\gofile.py", line 38, in fetch_resources raise GoFileErrorPageNotFound() plugins.gofile.GoFileErrorPageNotFound

    i keep getting this issue when attempting to run the gofile plugin, any idea as to what the issue is?

    bug enhancement help wanted 
    opened by MehrabD123 15
  • FileNotFoundError: [Errno 2] No such file or directory for Fapello

    FileNotFoundError: [Errno 2] No such file or directory for Fapello

    C:\Users\Sam\megaloader>python fapello.py
    Traceback (most recent call last):
      File "C:\Users\Sam\megaloader\fapello.py", line 12, in <module>
        main()
      File "C:\Users\Sam\megaloader\fapello.py", line 9, in main
        api.download_file(u, output)
      File "C:\Users\Sam\megaloader\plugins\fapello.py", line 49, in download_file
        http_download(url, output, custom_headers={
      File "C:\Users\Sam\megaloader\megaloader\http.py", line 45, in http_download
        with open(output, 'wb+') as stream:
    FileNotFoundError: [Errno 2] No such file or directory: 'downloads\\ie_0158.jpg'`
    
    opened by iansquenet 5
  • Fappello eror

    Fappello eror

    Traceback (most recent call last): File "c:\Users\user\Documents\GitHub\megaloader\test.py", line 12, in main() File "c:\Users\user\Documents\GitHub\megaloader\test.py", line 8, in main for u in api.export(): File "c:\Users\user\Documents\GitHub\megaloader\plugins\fapello.py", line 41, in export for e in self.__get_medias_from_page(l): File "c:\Users\user\Documents\GitHub\megaloader\plugins\fapello.py", line 33, in __get_medias_from_page
    page = requests.get(page_url).text File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\requests\api.py", line 76, in get return request('get', url, params=params, **kwargs) File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\requests\api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\requests\sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\requests\sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\requests\adapters.py", line 498, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

    i keep getting this issue when attempting to run the gofile plugin, any idea as to what the issue is?

    wontfix 
    opened by KetupatBulat 3
  • GoFile snippet error

    GoFile snippet error

    Hi, great repo by the way

    I want to ask you about this error since i already pulled up-to-date version from this repo and tried GoFIle snippet

    Traceback (most recent call last):
      File "gofile.py", line 1, in <module>
        from plugins import GoFile
      File "/home/user/repo/megaloader/plugins/__init__.py", line 1, in <module>
        from .pixiv import Pixiv
      File "/home/user/repo/megaloader/plugins/pixiv.py", line 6
        def __init__(self, creator_id: str, PHPSESSID: str = None):
                                     ^
    SyntaxError: invalid syntax
    

    Thanks

    bug help wanted 
    opened by jankintu 2
  • Hey there

    Hey there

    I see the python code you have written. just pointing out your 'requirements.txt' has spelt 'colorama' as 'coloram'. I have an issue: I can't install the required dependencies. It always says, 'import failed'. May i know what i could do? I will just look through the code while waiting for reply. Thanks.

    Error message: webdriver-manager>=3.8.3 module not found, CulturedDownloader will install it for you... webdriver-manager>=3.8.3 module has been installed.

    Cultured Downloader is missing some files, downloading 4.2.1... Download completed... Failed to import Cultured Downloader. Please try again, orcheck for a newer launcher on Cultured Downloader's GitHub Repository. You may also raise an issue on Cultured Downloader's GitHub Repository if you are unable to resolve this issue. Press ENTER to exit...

    opened by JacMeOuf 1
  • download_file() vs. download() method in Fapello's plugin

    download_file() vs. download() method in Fapello's plugin

    I don't see the download method used anywhere, is there any reason not to add {"Accept-Encoding:": "*"} to __build_headers and remove the custom headers from download_file?

    opened by ummeuropa 1
Owner
Quatrecentquatre
French programmer : Python, JavaScript, Bash, PHP, HTML / CSS, Assembly Language Intel x86. I also do some reverse enrineering on APIs.
Quatrecentquatre
A Celery application to collect data, download media and extract information from social media APIs

Project IBEX A Celery application to collect data, download media and extract information from social media APIs. Requirements You must have a Redis D

ibex 4 Dec 15, 2022
Downloads .ksy files and their dependencies straight from the official kaitai-struct format gallery.

ksy-dl Downloads .ksy files and their dependencies straight from the official kaitai-struct format gallery. This tool will: Fetch any of the official

null 3 Jun 20, 2022
A simple contents download module using url for python

A simple contents download module using url for python

Fayas Noushad 16 Oct 20, 2022
A python module to download ISO Standards

ISO Standards Downloader A python module to download ISO Standards from https://standards.iso.org/iso-iec/ Report Bug · Request Feature Table of conte

Daniel 1 Dec 29, 2021
A tool written in Python to download all Snapmaps content from a specific location.

snapmap-archiver A tool written in Python to download all Snapmaps content from a specific location.

null 46 Dec 9, 2022
This is a python based web scraping bot for windows to download all ACCEPTED submissions of any user on Codeforces

CODEFORCES DOWNLOADER This is a python based web scraping bot for windows to download all ACCEPTED submissions of any user on Codeforces Requirements

Mohak 6 Dec 29, 2022
A Python script that allows you to download all of an anime's episodes at once.

BitAnime A Python script that allows you to download all of an anime's episodes at once. · Download executable version · About BitAnime BitAnime is a

sh1nobu 17 Aug 10, 2022
Python script to download all images/webms of a 4chan thread

Python3 script to continuously download all images/webms of multiple 4chan thread simultaneously - without installation

Micha Fink 208 Jan 4, 2023
python code used to download all images contained in a facebook uid , the uid can be profile,group,fanpage

python code used to download all images contained in a facebook uid , the uid can be profile,group,fanpage

VVHai 2 Dec 21, 2021
Download all your URI Online Judge source codes and upload to GitHub with simple steps.

URI-Code-Downloader Download all your URI Online Judge source codes and upload to GitHub with simple steps. Prerequisites Python 3.x Installing Downlo

Luan Simões 9 Mar 23, 2022
Download all games from a public Itch.io Game Jam

Itch Jam Downloader Downloads all games from a public Itch.io Game Jam. What you'll need: Python 3.8+ pip install -r requirements.txt For site mirrori

Dragoon Aethis 19 Dec 7, 2022
Download all games from a public Itch.io Game Jam

Itch Jam Downloader Downloads all games from a public Itch.io Game Jam. What you'll need: Python 3.8+ pip install -r requirements.txt For site mirrori

Dragoon Aethis 19 Dec 7, 2022
Download all posts and comments in a subreddit

subreddit downloader This subreddit downloader downloads all posts and comments in a subreddit For a tutorial to use this program please follow this m

Guneet 6 Dec 16, 2022
Download all posts and comments in a subreddit

subreddit downloader This subreddit downloader downloads all posts and comments in a subreddit For a tutorial to use this program please follow this m

Guneet 6 Dec 16, 2022
You Can download any video/image in all social medias very easy and High Speed.

All-Downloader You Can download any video/image in all social medias very easy and High Speed. also you can easily download videos from web browsers s

Razor Kenway 14 Dec 16, 2022
👻🟡 Download all Snapchat video & photo memories from a data export.

Snapchat "Memories" Fetcher In compliance with the California Consumer Privacy Act of 2018 (“CCPA”), businesses which collect and store user data must

Todd Birchard 18 Dec 26, 2022
Python module to donwload all Pixiv artworks of a user using it's user ID.

Python module to donwload all Pixiv artworks of a user using it's user ID. You need a PHPSESSID token to export NSFW.

Quatrecentquatre 1 Jan 27, 2022
Twitter Media Downloader (Telegram Bot)

Twitter Media Downloader (Telegram Bot)

Matin Baloochestani 8 Oct 27, 2022
The free and open-source Download Manager written in pure Python

The free and open-source Download Manager written in pure Python

pyLoad 2.7k Dec 31, 2022