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

Update animepahe_scraper.py -- Fix from Oshan96 himself.

Open RatCheese1608 opened this issue 3 years ago • 3 comments

Update given from https://github.com/Oshan96/monkey-dl/issues/30#issuecomment-850628397 The response was sent to my email however I couldn't see it in the thread and I also see that this file hasn't been updated with the solution.

RatCheese1608 avatar May 30 '21 03:05 RatCheese1608

Never knew accidentally putting spaces was a bad thing.

RatCheese1608 avatar May 30 '21 04:05 RatCheese1608

Does this fix the issue and the download links are collected?

Oshan96 avatar May 31 '21 12:05 Oshan96

I took the liberty of just removing the specified versions (==.* - formatted in regex form) in requirements.txt. Currently it's working. The gui, I mean.

After a test run on https://animepahe.com/anime/eaef4187-e50a-d4f4-609c-1865a9804e55, I recieved this error:

[INFO] : AnimePahe URL detected...
[ERROR] : __init__() got an unexpected keyword argument 'recaptcha'
[ERROR] : Something went wrong! Please close and restart Anime Downloader to retry!

To be more exact from the cmd I recieved this:

Traceback (most recent call last):
  File "C:\Users\$(USER CENSOR)\Desktop\monkey-dl-master\anime_downloader\gui\GUI.py", line 80, in download
    session = cloudscraper.create_scraper(
  File "C:\Users\$(USER CENSOR)\AppData\Local\Programs\Python\Python39\lib\site-packages\cloudscraper\__init__.py", line 748, in create_scraper
    scraper = cls(**kwargs)
  File "C:\Users\$(USER CENSOR)\AppData\Local\Programs\Python\Python39\lib\site-packages\cloudscraper\__init__.py", line 144, in __init__
    super(CloudScraper, self).__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'recaptcha'

[ERROR!] : __init__() got an unexpected keyword argument 'recaptcha'
[ERROR!] : Something went wrong! Please close and restart Anime Downloader to retry!

However this time I downloaded the anime movie "Birthday Wonderland".

I downgraded Cloudscraper to version 1.2.33 due to the prior installation problems I basically let everything become the latest version.. And it now gave me a new error, which I believe is something wrong with the syntaxing.

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

RatCheese1608 avatar Jul 11 '21 13:07 RatCheese1608