GithubHelp home page GithubHelp logo

oshan96 / monkey-dl Goto Github PK

View Code? Open in Web Editor NEW
812.0 25.0 70.0 826 KB

Bulk download your favourite anime episodes from your favourite anime websites

License: MIT License

Python 100.00%
anime-downloader anime anime-search anime-fans anime-scraper web-scraper 9anime animeultima animepahe 4anime

monkey-dl's People

Contributors

atrate avatar oshan96 avatar

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

monkey-dl's Issues

Episode renaming and Downloading order

Hi,
I noticed when download an entire anime that the downloading order is reversed. It starts downloading the latest episode first and the first episode last.
Is there a way to reverse the order which monkey-dl downloads the anime?

Edit: Also, all the downloaded episodes are named in numbers. Is there a way to attach the anime name into them automatically?
I am currently using advanced renamer to rename them after downloading.

PS: Sorry for my bad english.

AnimePahe not working

I got the following messages when trying to download from AnimePahe:

[INFO] : AnimePahe URL detected...
[INFO] : Collecting download links...
[INFO] : Collecting episodes...
[INFO] : Collecting kwik links...
[ERROR] : 1080p not available!
[INFO] : Continuing with 720p link...
[INFO] : Collecting request header values...
[ERROR] : Cloudflare reCaptcha detected, unfortunately you haven't loaded an anti reCaptcha provider correctly via the 'recaptcha' parameter.
[INFO] : Retrying to collect download links...
[INFO] : Collecting episodes...
[INFO] : Collecting kwik links...
[ERROR] : Expecting value: line 1 column 1 (char 0)
[ERROR] : Failed to retrieve download links!

I closed and reopened Anime-DL several times without getting it to work.

Unable to download from Animepahe even with 2captcha

[INFO] : AnimePahe URL detected...
[INFO] : Collecting download links...
[INFO] : Collecting episodes...
[INFO] : Collecting kwik links...
[ERROR] : 'list' object has no attribute 'keys'
[INFO] : Retrying to collect download links...
[INFO] : Collecting episodes...
[INFO] : Collecting kwik links...
[ERROR] : 'list' object has no attribute 'keys'
[ERROR] : Failed to retrieve download links!

Hopefully this is something easy I can fix on my end but I haven't found anything about this

Defender clocked the exe as being malacious.

Was downloading Jojo from gogoanime since about 10 hrs,
Settings if it helps : 720p, ep 1-23 , stardust egypt arc.
Running 4 Threads, encountered two non HLS links and started two ffmpeg instances and I think it crashed/was terminated after one ffmpeg download finished (only one file was completed).

image

How long do downloads usually take?

Forgive me if this isn't the right place to ask, but I seem to be having a problem with downloading, in that the downloader doesn't seem to be making any progress at all.

[INFO] : GoGoAnime URL detected...
[INFO] : Collecting download links...
[INFO] : Extracting page URLs...
[INFO] : Downloading started...
[INFO] : HLS link found. Using custom HLSDownloader to download...

And then it just kind of sits there. Progress bar doesn't seem to be moving or anything. Does it just take a while to download? It's kind of a long video.

Can't download at AnimeUltima.to anymore

This is what comes up when trying to download a series now.

[INFO] : AnimeUltima URL detected...
[INFO] : Collecting download links...
[ERROR] : can only concatenate str (not "NoneType") to str
[ERROR] : Something went wrong! Please close and restart Anime Downloader to retry!

It was successful 2 days ago but it seems like something has changed. Any help would be appreciated!

AnimeUltima consistently asks for a reCapatcha and from AnimeFlix it can't collect the download links.

When downloading from AnimeUltima it consistently asks for a reCapatcha and from AnimeFlix it can't collect the download links. It happens every time and with and without a VPN on. I make sure to visit the sites in a browser before downloading and I have tested that the episodes play and aren't dead. I did install FFmpeg but maybe I didn't do it correct;y? Would this be an error associated with having problems with FFmpeg?

Also, in your README it says that FFmpeg is optional under #Supported Websites but then only a dozen lines down it stays it's required for AnimeUltima...

Installation trouble

Screenshot (124)
Screenshot (126)
Also how exactly am I supposed to run the code. I'm new to pycharm. forgive me

Does any website still work?

Can anyone confirm that a single site still works with this utility? From what I gather none of these websites exist on the same URL that they did 2 years ago. Thanks.

Cant download from animepahe.com

I did add the 2captcha api key, yet cant download

Log

[INFO] : AnimePahe URL detected...
[INFO] : Collecting download links...
[INFO] : Collecting episodes...
[ERROR] : 'data'
[INFO] : Retrying to collect download links...
[INFO] : Collecting episodes...
[ERROR] : 'data'
[ERROR] : Failed to retrieve download links!

Release AppImage

Releasing the application in the AppImage format would help Linux users because AppImages are multi-platform and so they could be applied for virtually all Linux distros without the need to build multiple packages each release.

cant download from animepahe - no recaptcha page appearing

im trying to download from animepahe but it needs a 2captcha api key, which i dont have

so im trying the alternative of grabbing a value from a captcha page

but nothing i do makes a captcha page appear meaning i can't grab the value

Dragon Ball Z Links can't be found

It says the following when I try to download the Dragon Ball Z anime:

[INFO] : AnimeUltima URL detected...
[INFO] : Collecting download links...
[INFO] : Retrying to collect download links...
[ERROR] : Failed to retrieve download links!

I don't know what it means but could someone tell me how I could fix this? I'm going on a road trip on Friday and it's going to be for 2 weeks so I need something to watch while were on the road.

Bug

Hey! So, when I tried to download episodes, it said that I am missing some files (https://prnt.sc/rfz6gt). I downloaded the zip file from releases and extracted it to this folder. Sorry if I'm just doing something wrong, I don't have programing experience.

Can't download from 9anime.to or 9anime.nl:

Hey man, I tried the latest gui version of the program for windows 10 v1909. I have read the README many times carefully and followed the instructions but it does not work. I am trying to download naruto shippuden dubbed but whatever I try it simply doesn't work. I get the error 'data-ts' every time irrespective of the recaptcha token provided. I tried to change the server on 9anime site (from MyCloud to Mp4Upload), ran the program with and without admin privileges, tried to submit the recaptcha and view the site on browser first but it still doesn't work. One thing I noticed that the recaptcha token expires if you do not press the submit button for sometime which may be the cause but I have tried all of the above before the recaptcha token expires so it doesn't seem to be the problem. Help me man, my slow internet is killing me in this lock down situation. I joined github just to report this. None of the other available programs seem to work either.

Error downloading from twist moe

Below image show the settings I have done

error message

This error came up

[INFO] : Twist URL detected...
[INFO] : Collecting download links...
[ERROR] : Expecting value: line 1 column 1 (char 0)
[INFO] : Retrying to collect download links...
[ERROR] : Expecting value: line 1 column 1 (char 0)
[ERROR] : Failed to retrieve download links!

anyone have any idea how to resolve this??

CLI not working

The CLI is not working.

First I get this:

Traceback (most recent call last):
  File "./Anime_Downloader.py", line 188, in <module>
    main()
  File "./Anime_Downloader.py", line 175, in main
    Anime_Scraper.main(args.start, args.end, token)
  File "/home/alex/Anime/Downloader/anime_downloader/scrapers/nineanime/Anime_Scraper.py", line 227, in main
    with open("settings.json") as (json_file):
FileNotFoundError: [Errno 2] No such file or directory: 'settings.json'

I create the file settings.json (I just used touch) and get this:

Traceback (most recent call last):
  File "./Anime_Downloader.py", line 188, in <module>
    main()
  File "./Anime_Downloader.py", line 175, in main
    Anime_Scraper.main(args.start, args.end, token)
  File "/home/alex/Anime/Downloader/anime_downloader/scrapers/nineanime/Anime_Scraper.py", line 228, in main
    data = json.load(json_file)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

animepahe captcha

animepahe captcha doesnt appear. and i still confuse about how to use monkey dl app. sorry im new in this

not "NoneType"

[INFO] : GoGoAnime URL detected...
[INFO] : Collecting download links...
[INFO] : Extracting page URLs...
[ERROR] : can only concatenate str (not "NoneType") to str
[INFO] : Retrying to collect download links...
[INFO] : Extracting page URLs...
[ERROR] : can only concatenate str (not "NoneType") to str
[ERROR] : Failed to retrieve download links!

Capture

Exception When From and To episodes are null

Hey, Just tried The GUI, but leaving the from and to episode number blank gave Exception at line 216 of anime_scrapper.py.
Also it says Download started in GUI no matter what happens so a normal user would be waiting idle doing nothing, maybe add something like a progress bar or just show a dialog for error.
Default start can be set to 0, but default end would vary so Would have to read from api i'm guessing.

Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 916, in _bootstrap_inner
File "threading.py", line 864, in run
File "Anime Downloader\gui\GUI.py", line 10, in execute
File "Anime Downloader\Anime_Scraper.py", line 216, in main
ValueError: invalid literal for int() with base 10: ''

monkey-dl can't collect download links from gogoanime.io

I really love this project and I really appreciate the time and effort you put into monkey-dl.
Recently, It seems that gogoanime.io started introducing hicapatcha to all download links, therefore monkey-dl can't collect any download links.
Is there a way around this?

Nothing seems to work.

I can't believe there no other issues listed. I tried all anime sites that didn't require a token. Actually none of them work. The last one I tried was 4anime which managed to count off the episodes, but then couldn't find the download links. The others all gave errors like "data-id" etc..

You need to add error checking of fields that required for the GUI and an explanation within the gui that explains it a better. More error checking is needed as well as debugging.

So far your scraper looks the most promising but nothing seems to work for me.

Please try this link and let me know if it works for you.

https://4anime.to/anime/ling-qi

Here is the reply i got

[INFO] : 4Anime URL detected...
[INFO] : Collecting download links...
[INFO] : Extracting page URLs...
[INFO] : Extracting download URLs...
[ERROR] : Download link not found for Episode - 1
[ERROR] : Download link not found for Episode - 2
[ERROR] : Download link not found for Episode - 3
[ERROR] : Download link not found for Episode - 4
[ERROR] : Download link not found for Episode - 5
[ERROR] : Download link not found for Episode - 6
[ERROR] : Download link not found for Episode - 7
[ERROR] : Download link not found for Episode - 8
[ERROR] : Download link not found for Episode - 9
[ERROR] : Download link not found for Episode - 10

CLI support for websites

Attempting to download a show from animefreak using the CLI causes errors, but seems to work with the GUI. This appears to be because Anime_Downloader.py only imports scrapers.nineanime and does not check which scaper to use for different links inside of the main function.

Unable to download from 4anime.to

I tried to download from 4anime.to and I'm only getting [ERROR!] : Download link not found for Episode - * and [ERROR!] : Failed to retrieve download links!

I've tried following the additional notes to no success.

Request feature, How about supporting movie sites?

I'm so thankful to the developer for making this open source and free, Back then, i really want to make a program that does the same . I'm amaze how you do it in anime websites (Sweet, Thank you so much for making my life easy). After a couple of research and studying of how this work. I got an idea how does m3u8 works, but due to lack of resources, I am still lacking in knowledge of how to extract data from movie websites like fmovies, 123movies, etc. That's why i would like you guys to make another script that does the same. I can't find a similar repo that does the same in movies. So, I hope you consider.

[ERROR] : Failed to retrieve download links!

I was trying to download Black Clover from 4anime and I always get this error.

I have read the readme file and I have navigated 4anime manually like hundreds of times but this issue just wont go away. Is there any solution?

HELP ME

hello sir, I'm having a problem. when I opened the zip file and clicked on the application it is extracting. after a certain time it is showing as " monkey- dl.exe will be compressed only after closing the application using it. Modifications will be lost if you close WinRAR before that" but I can't find your app after closing my pc. I am a win7 32 bit 1GB
IMG_20201222_195403
ram user. Also please add gogoanime.so or gogoanime.vc because remaining sites given by you are not working in our country

Add support for AnimeWatch

I wanted to suggest adding AnimeWatch to the project.
The website is a bit messy in terms of organization but downloads are very fast (max of 8 MBps), video files are very small size and encoding quality is significantly better than gogoanime. There is no cloudflare protection and no redirects to download, the website works with direct links.

Searching functionality...

Welp, just like in anime-dl/anime-downloader, I want to get your opinion on searching functionalities...

As a feature it would need a lot of rework in the core of the repo.
But I believe it's worth the effort.

Once I get familiar with the inner workings of monkey-dl, I'll try to add it myself, but adding a feature whilst not knowing if it will actually get merged does not sound nice.
(Yes, I know that you have to look at my PR to decide if you want it to be merged or not, I'm just asking if you would like this in general.)

Can I only download those anime that are available on animefillerlist.com ?

I was trying to download Kaguya-sama: Love is war. But it is giving me this error:
error: the following arguments are required: -n/--names

This is the command that I used:
python3 ./Anime_Downloader.py -u https://animepahe.com/anime/3b2160bd-4ced-ad96-068d-aa2b09e676f6 -s 1 -e 12 -d /Users/lakshay/Desktop/Test_folder -t 3

Am I doing something wrong ??

EDIT:
I tried the windows installer and it is working there perfectly.

Twist.moe download "Location" Error

Hi, I've been periodically getting a location error when trying to download from twist.moe. It looks like
"
[ERROR] : 'location'
[INFO] : Retrying to collect downloading links...
"
This occurs after I put the url and such in. I'm familiar with this downloader, I've used it a few times, but periodically I get this error. I'm not sure how to fix it.

9anime .at

how to add support for 9anime.at coz 9anime.to is blocked on my internet

Provider related stuff

So, we have no way to contact each other, that's why I am making an issue where we can discuss on provider related stuff.

First of all,
Since you are using cloudscraper, and the requests library is a dependency for cloudscraper,
That means that I can directly Import the requests library, right?
Using a session for simple api calls (the provider im working on) sounds like a pain.

Also, I suggest writing wrapper functions in the util file, that way we can use smth like util.soup(html) for parsing html or util.get(link) and util.post(link, data) for requests that dont need a session.
PS: If you have no problem with the helper functions then I can just add them along with my PR

sometimes the downloads are incomplete

sometimes when i download episodes they just stop in the middle or close to the end while watching them. i only ever download one piece episodes from twist.moe, so i don't know if it is a problem with twist or monkey-dl. but any help would be appreciated. :)

Couldn't download from any site

Hi, it seems i can't download from any site even 4anime. I tried navigating the websites more than 5 times and still doesn't work. how can i fix this?
MDL error

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.