Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update animepahe_scraper.py -- Fix from Oshan96 himself. #62

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

RatCheese1608
Copy link

Update given from #30 (comment)
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.

Update given from Oshan96#30 (comment)
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.
I removed some whitespaces at eof since codestacy said so.
Just the same thing from codacy
@RatCheese1608
Copy link
Author

Never knew accidentally putting spaces was a bad thing.

@Oshan96
Copy link
Owner

Oshan96 commented May 31, 2021

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

@RatCheese1608
Copy link
Author

RatCheese1608 commented Jul 11, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants