Giter Club home page Giter Club logo

mediafire_bulk_downloader's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mediafire_bulk_downloader's Issues

Can't download more than 100 files

Tried to download a large folder, it creates the files and downloads the first 100 files, but then it just ignores the rest if there are any.

skip download when already exist

Currently it downloads all files over and over again even if its already present.
Can we add a possiblity to skip these files?

Error when trying to download

Here's the error:

Downloading Dungeon Crawler Carl 05 The Butchers Masquerade.m4a
Traceback (most recent call last):
File "/mediafire_bulk_downloader/mediafire.py", line 468, in
main()
File "/mediafire_bulk_downloader/mediafire.py", line 171, in main
get_file(key, args.output)
File "/mediafire_bulk_downloader/mediafire.py", line 366, in get_file
download_file(file_data)
File "/mediafire_bulk_downloader/mediafire.py", line 438, in download_file
r.raise_for_status()
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.mediafire.com/file/j47w9wsiqp3ddr9/Dungeon_Crawler_Carl_05_The_Butchers_Masquerade.m4a/file

File names with invalid characters

I am trying to download a folder but some file names contained invalid characters (generated sometime probably before upload from the character ü. When I download them, I get the error

Exception in thread Thread-687 (download_file):
Traceback (most recent call last):
  File "C:\\\\threading.py", line 1038, in _bootstrap_inner
    self.run()
  File "C:\\\\threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "C:\\\\mediafire.py", line 270, in download_file
    with open(filename, "wb") as f:
         ^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument: 'Fl?gel Variationen op.12.pdf'

When I download the file manually the ? is rendered as .

Suggested solution: Make it replace invalid characters with something like -.

Output path

Hello,

Thank you for this great work!
Is it possible to specify the path to download the file?

For example;
python3 mediafire.py [LINK] [download_folder_path_in_server]

Thanks

Download files but content is the html mediafire page

It seems it create all files from the selected directory but fill them with html code instead of what it really is.

304K    One Piece --Edicion Original- Eiichiro Oda- - Tomo 001.cbr

> less *001.cbr

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>One Piece ([Edicion Original] Eiichiro Oda) - Tomo 001</title>
<meta name="keywords" content="online storage, free storage, cloud Storage, collaboration, backup file Sharing, share Files, photo backup, photo sharing, ftp replacement, cross platform, remote access, mobile access, send large files, recover files, file versioning, undelete, Windows, PC, Mac, OS X, Linux, iPhone, iPad, Android" />
<meta name="description" content="MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere." />
.......

Url:
https://www.mediafire.com/folder/9lqr9supanbno/00+inc+-+One+Piece+(Eiichiro+Oda)#r6sqg6c8odkk0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.