monkey-dl icon indicating copy to clipboard operation
monkey-dl copied to clipboard

Unable to download from Animepahe even with 2captcha

Open Mitchy403 opened this issue 5 years ago • 11 comments

[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

Mitchy403 avatar Jul 01 '20 21:07 Mitchy403

Can I know whether the issue is still there? or if it's one time issue?

If it's still there, I was working on the next release of monkey-dl and will look into this issue as well. I had some other work going on so didn't have enough time to invest on this for sometime now, But I will start working on it again and hopefully release the next version with fixes :)

Oshan96 avatar Jul 09 '20 13:07 Oshan96

Problem seems to be different right now,

We definitely appreciate the time and effort you put into this project

I tried it with a couple of different anime and it says the same thing

Mitchy403 avatar Jul 09 '20 13:07 Mitchy403

Please don't post images with your API keys.

And it seems like I will have to look into this for a fix :) I will start working on it and hopefully will find where the issue is quickly :)

Oshan96 avatar Jul 09 '20 15:07 Oshan96

Good day. I'm also having this kind of problem when downloading. Please help, thank you very much.

charlesjacob avatar Nov 01 '20 07:11 charlesjacob

Just had the same issue. Anybody find any solutions?

sdMickey avatar Nov 16 '20 11:11 sdMickey

Did you guys changed the variable used in an object and forget to associate it on other uses?

RatCheese1608 avatar Apr 07 '21 10:04 RatCheese1608

In case anyone is still facing this issue:

Go to \monkey-dl\anime_downloader\scrapers\animepahe\animepahe_scraper.py Paste the following code if isinstance(api_data, list) and len(api_data) > 0: api_data = api_data[0] after api_data = self.__get_page_data(temp_url)["data"] inside the function def __set_kwik_links(self)

I think it's pasted at the end of the line/script. This was quoted from my email, I don't know why I can't see it, so I'm posting it here.

image

I have also attempted to add the solution itself, but I can't test it out since I don't have the ability to compile it (I'm pretty much just a pc user who knows coding so he can make his life easier.)

RatCheese1608 avatar May 30 '21 03:05 RatCheese1608

Hello Good day. I just want to ask where I should put the code exactly. I'm sorry I don't really have much idea about coding. And another question, does it automatically apply on the monkey dl exe? If not, how can I execute it? Thank you very much.

On Sun, 30 May 2021 at 11:29, RayCist1608 @.***> wrote:

In case anyone is still facing this issue:

Go to \monkey-dl\anime_downloader\scrapers\animepahe\animepahe_scraper.py Paste the following code if isinstance(api_data, list) and len(api_data)

0: api_data = api_data[0] after api_data = self.__get_page_data(temp_url)["data"] inside the function def __set_kwik_links(self)

I think it's pasted at the end of the line/script. This was quoted from my email, I don't know why I can't see it, so I'm posting it here.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Oshan96/monkey-dl/issues/30#issuecomment-850933670, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARRJVEVZGI35E5SGJU5VHHTTQGWI3ANCNFSM4OOBDH7A .

charlesjacob avatar May 30 '21 23:05 charlesjacob

Hi charlesjacob, It applies to the raw python code in the master release (specifically the monkey-dl / anime_downloader / scrapers / animepahe / animepahe_scraper.py). I've made a commit to the file to add the line but it still needs to be reviewed by an official contributor (I think). The exe is a compiled version of all the scripts, and I don't have a lot of experience in compiling. So even if you did edit the script, saved it, you wouldn't be able to use it since it (probably, I tried just downloading the master release, edit the required script and run it, but couldn't figure out how to start the gui). The master release is also known as the source code and the releases we usually use is a compiled version of those. There's no way to edit the exe itself since the exe is just a compiled binary and has mainly just the set of commands required for the program to work and does not rely on a script.

For other's who are reading this. You can download from the master repo and edit monkey-dl / anime_downloader / scrapers / animepahe / animepahe_scraper.py and build monkey-dl from source. The method is apparently simple, you just have to install a couple of pip packages and make sure they are the same with the version specified in requirements.txt, if you enter a problem, try just installing the latest version. You can then goto monkey-dl / anime_downloader and run anime-dl.py which should start the gui. Make sure to have settings.json setup in the same folder of anime-dl.py Currently even after this fix, it only fixed the part where it says lists don't have a key, which of course they don't, dictionaries do. You should receive an error '720' or even better a working download.

RatCheese1608 avatar Jun 04 '21 13:06 RatCheese1608

Is the problem close to being fixed? And do u maybe have an DC?

I love the application keep up the good work

SMILLEE2 avatar Jul 27 '21 12:07 SMILLEE2

No the issue has not yet been fixed, I tested the "fix" and had a new error and so I can only rely until Oshan96 creates a better solution.

RatCheese1608 avatar Aug 01 '21 10:08 RatCheese1608