-
Notifications
You must be signed in to change notification settings - Fork 14
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
Problems starting the download #62
Comments
Not sure if it is related but they have changed their site header again and the program might not have been updated to reflect the new info that needs to be filtered out while pulling the url since it is set up to remove the parts of the page like watching anime on crunchyroll. The Rising of the Shield Hero Episode 8 - Watch on Crunchyroll is what it would be looking for in the data that does not exist since it is using the old info. But might be wrong on all of this. |
How could I solve the problem? |
Can not guarantee this might help but try checking this line in the ultimate.py title = re.findall('<title>(.+?)</title>', html)[0].replace to see what it has. Try editing it to what they currently have and see if that helps. If not then something was changed in the data that it is looking for that either got moved or may not exist anymore, but what it is looking for would have to do some checking. |
I do not know if I did it correctly. But it did not work... Thank you anyway! |
Also found this in regards to the one error. https://python-forum.io/Thread-AttributeError-NoneType-object-has-no-attribute-error |
Looking at your error I have an idea what is wrong but someone needs to update the login for premium accounts, when was your most recent log in to the account? The line being referred to in your error is for logging in. If you have not logged back in for a while it could be using the old authentication. If you clear the cookie data and it gives you an error about trying to log in then it is an authentication error. |
I deleted the cookie file. After trying to log it keeps crashing. I already tried changing the password on the site and nothing works!
|
Yea, they have changed the log in credentials which means no more premium downloads until it gets fixed but they have also changed internal urls also since they merged with vrv which means all the old data strings it was searching for are hosed. |
I do not quite understand what you mean (I'm using Google translator). So will I have to wait for an update of Crunchyroll-XML-Decoder or look for another program or code? |
You can wait but it has been months, might be time to look for a new one or just get them from torrents. |
i think the problem is the http header that is used to query the xml data. |
It is not just a cloud flare check, the authentication string has changed which is what the make choice lines are referring to, line line 369, in makechoise()is referring to the crunchy-xml-decoder.pyi file for the log in. It will not create a new cookie if it can no find the correct log in which is why it is making the error log in failed. Line 110 in altfuncs is for the flash video verification to make sure it is pulling the current version of flash player. |
The problem because cloudflare check, just replace the following file to fix it. |
The download of single episodes has returned to normal. The seasons download still does not work. And for some reason the .mkv files are named "Just a moment....mkv" |
@AhmadKahlid Now I have the "CSRF token not found" error mesage. |
Told you was not a cloud flare issue. It is not generating the proper log in. It needs to create the proper cookies and token. It is missing header data as it has changed. def login(username, password):
|
Not sure if this will help but you can find the code page for the log in here. view-source:https://www.crunchyroll.com/login |
You need to verify you are automatized do download anything beyond 480p as those are for premium users unless it stays that a show or episode will be unlocked at a higher res for non paying customers. The token is basically your key to that encrypted data unless you make a script to bypass it. |
for me the login works again if i set the c_locale cookie in login.py and the naming problem is solved by overwriting the title with the title from the xml answer. I also need the fix form AhmadKahlid in altfunktions.py to make everything work |
The seasons download still does not work. It seems that this problem is general with all projects |
i have briefly rewritten the autocatch method to crunchy-xml-decoder.py and put all the changes into this zip
|
I'm getting a different error:
Tried downloading everything again and replacing with the .zips chared above. |
you should try to rebuild and reinstall your version of cloudflare-scrape |
here is a change for Subtitle only based on the latest changes |
Yeah, I'm not sure, apparently I messed something up so I may just re-download the whole crunchyroll xml decoder and try to edit a fresh install and see which way it goes from there. I tried downloading an older video to see if I could get it to do anything with no luck still. the error it gives is different as well. python version=2.7.9 32 bit
---- Start New Export ----CrunchyRoll Downloader Toolkit DX v0.98d Crunchyroll hasn't changed anything. If you don't have a premium account, go and sign up for one now. It's well worth it, and supports the animators. Booting up... Traceback (most recent call last): |
install https://nodejs.org/dist/v10.15.2/node-v10.15.2-x64.msi and reboot |
Thanks, It's working now. I much appreciate the assistance everyone of all those that know how to fix these things gives to the ones of us that don't really understand it. |
I upgrade to your modded build @Elegond and it worked fine. However, I used it yesterday, and it started giving me this error. python version=2.7.9 64 bit---- Start New Export ----CrunchyRoll Downloader Toolkit DX v0.98b Crunchyroll hasn't changed anything. If you don't have a premium account, go and sign up for one now. It's well worth it, and supports the animators. Booting up... Traceback (most recent call last): By chance you might know what could have caused it? |
Is this program even updated to be compatible with that version of python? Some versions will give errors especially the later builds from what this was complied off of. |
It is. At least I've used for over a 2 months without any problems. I didn't have any problems til the recent changes to Crunchyroll's site itself. I downloaded a clean version of the Decoder, then copied and pasted Elegond's changes into it. Worked til yesterday. |
Stopped running for two days
|
as i wrote in problem #63 crunchyroll stopped sending the resolution in xml yesterday remove |
Has this error started now, crunchyroll changed anything again?
|
https://github.com/Elegond/Crunchyroll-XML-Decoder/blob/master/crunchy-xml-decoder/ultimate.py |
I still have the same error after editing ultimate.py. |
if you edit ultimate.py like this, it is impossible to get the same error. Replace your ultimate.py with |
Indeed it works after replacing the file with yours. The last I copied and past. Sorry for my mistake nand thank you for your help. |
New error
|
ok in this case delete lines 265 to 267. i didn't expect any episodes with letters. |
I believe they are somehow tracking this now, because I can use the exact same files with a different account and download just 1 episode before it throws XML errors. Update: for some reason if you audit the site, you can download again |
can you show me your error traceback? |
can you try this code |
Error found. Crunchyroll hasn't changed anything. If you don't have a premium account, go and sign up for one now. It's well worth it, and supports the animators. Booting up... Traceback (most recent call last): |
@Jroddmqz |
The text was updated successfully, but these errors were encountered: