crunchy-xml-decoder icon indicating copy to clipboard operation
crunchy-xml-decoder copied to clipboard

Login problems

Open TPBT-OFFICIAL opened this issue 10 years ago • 27 comments

I seem to be having problems login in, i have a free membership account that logins in fine but i have a premium (trial) account that doesn't want to login for some reason, i think theres been some recent changes on their website could anyone please help getting this solved?

TPBT-OFFICIAL avatar Nov 19 '15 20:11 TPBT-OFFICIAL

Can you show us picture what you get when you log in You can datg and drop here

alzamer2 avatar Nov 20 '15 07:11 alzamer2

You mean on crunchyroll or crunchy-xml-decoder?

alzamer2 [email protected] wrote:

Can you show us picture what you get when you log in You can datg and drop here — Reply to this email directly or view it on GitHub.

TPBT-OFFICIAL avatar Nov 20 '15 09:11 TPBT-OFFICIAL

It seems it doesn't login if its a free trial but i canceled the free trial and tried again and it logged in (premium+ plan)

TPBT-OFFICIAL avatar Nov 20 '15 17:11 TPBT-OFFICIAL

does the console close when you try to login or show that the login was failure, i want to know if the problem in the code or the structure of the login site

alzamer2 avatar Nov 22 '15 07:11 alzamer2

Unfortunately I can't test that anymore but from what I remember after u tried to login it just said "login failed" and then closed.

alzamer2 [email protected] wrote:

does the console close when you try to login or show that the login was failure, i want to know if the problem in the code or the structure of the login site — Reply to this email directly or view it on GitHub.

TPBT-OFFICIAL avatar Nov 22 '15 10:11 TPBT-OFFICIAL

Hmm As you said i think the problem is at the site If i have free time at weekend i will try solve it but i cant promise any thing

alzamer2 avatar Nov 23 '15 10:11 alzamer2

I can give you acess to a trial account I have if you want to test it.

alzamer2 [email protected] wrote:

does the console close when you try to login or show that the login was failure, i want to know if the problem in the code or the structure of the login site — Reply to this email directly or view it on GitHub.

TPBT-OFFICIAL avatar Nov 24 '15 13:11 TPBT-OFFICIAL

No proplem i can create trial account Thanks

alzamer2 avatar Nov 24 '15 16:11 alzamer2

I'm also having a login failed issue and after pressing any key the window instantly closes.

http://i.imgur.com/Vsg6ur9.png

ghost avatar Jan 07 '16 01:01 ghost

I am having the same issue as ganon11000. I seem to recall it typing something in the password on it the last time I logged onto it. Now I'm not even sure if it's typing anything for the password or not but I keep trying to put in the password and it continually fails login and closes off just as it does for Ganon11000 in the picture he posted. Any assistance would be awesome. Thanks for the coding and hard work at getting this working.

FacelessFresh avatar Jan 07 '16 01:01 FacelessFresh

Out of interest does your password contain special characters?

ghost avatar Jan 07 '16 01:01 ghost

no, it doesn't contain any. I logged in just fine on the site and it logs in just fine on an older version of it. I would just use it if it'd actually download the videos like the newer version does. I've also tried uninstalling and reinstalling Python 2.7.5 as well as trying different versions of it an Pycrypto. I have a workaround for now so it's not like up the creek without a paddle. I can still use the guest login to download the subtitles so I download the video using a getflv downloader since that'll download the video without the subtitle. Maybe I can figure it out eventually but I'm going to retire for the evening and try again tomorrow sometime after work ends.

FacelessFresh avatar Jan 07 '16 05:01 FacelessFresh

I am having the same issue as ganon11000. I can only login in the old version. I've tried it on two computers with different OS (Win 7, Win XP) with the same result.

login failed login

danny-ml avatar Jan 07 '16 22:01 danny-ml

Same here... I am having the exact same problem,I cant loggin, any help would be great. Thank you

Davdomlan avatar Jan 09 '16 11:01 Davdomlan

how can I get the old version?

albireon avatar Jan 09 '16 11:01 albireon

Like all of you, im also having the same problem AGAIN, it got fixed after i changed from free trial to actual premium account but just today i opened it and it didn't work again.

TPBT-OFFICIAL avatar Jan 09 '16 11:01 TPBT-OFFICIAL

I got an old version to login and then edited the info from cookies.txt to the cookies file on the new version and all is now working

ghost avatar Jan 10 '16 10:01 ghost

@ganon11000 could you please share that version?

TPBT-OFFICIAL avatar Jan 10 '16 12:01 TPBT-OFFICIAL

I'm sorry to say this but when i wrote the new login code i forget to add login test for trial so if your account is trial no mater what it will say it's failur so after the login consol close try to download

alzamer2 avatar Jan 10 '16 12:01 alzamer2

I'm not using the trial and get the issue still. My work arround is (1.) using this https://userscloud.com/sh9nc1zl4cal (password is "github") on _make_cookies.bat -> (2.) attempting login on the new version -> (3.) opening cookies.txt from the old version and cookies from the new version and copying the old versions details listed here http://i.imgur.com/M5zpYYj.png to the corrosponding possisions here http://i.imgur.com/V9SFnxx.png (leaving the others as they were generated by the new version in step 2)

Hopefully this workaround will work for you and possibly help work out what's wrong?

ghost avatar Jan 10 '16 21:01 ghost

Was having the same issue. The cause appears to be in the check against the membership URL after the login attempt in the following file: https://github.com/einstein95/crunchy-xml-decoder/blob/7162b201a845221b9f5325d2cff9056100efaa0b/crunchy-xml-decoder/login.py#L20

The current URL appears to generate a 404 error, and removing the trailing front slash appears to resolve the issue.

harmfuldata avatar Jan 10 '16 23:01 harmfuldata

@harmfuldata That fixed it, thank you https://a.tpb.lc/xolgvc.png

TPBT-OFFICIAL avatar Jan 11 '16 01:01 TPBT-OFFICIAL

Confirmed fix from @harmfuldata You need to find the file login.py Then edit the following line: site = session.get('https://www.crunchyroll.com/acct/membership/', headers=headers, verify=True).text You need to change it to site = session.get('https://www.crunchyroll.com/acct/membership', headers=headers, verify=True).text

In the end it should look like something like this: https://a.tpb.lc/cqtlkx.png

After that try to login again and it should be working fine.

TPBT-OFFICIAL avatar Jan 11 '16 01:01 TPBT-OFFICIAL

Confirmed fix from @harmfuldata Thank you very much. login_successful

danny-ml avatar Jan 11 '16 04:01 danny-ml

Thanks @harmfuldata, It worked like a charm.

Davdomlan avatar Jan 11 '16 07:01 Davdomlan

thanks for the fix

CraigMack69 avatar Jan 14 '16 09:01 CraigMack69

Editing the login.py didn't seem to do the trick for me so I personally found a way around it. Your cookie file (just "cookie", no extension) which should be in whatever same folder you've got crunchy-xml-decoder.py extracted in should look like so: crunchyrollcookieexample

...with the exception of your own proper values filled in the blank spaces. Obviously mine are edited out. You can find out the values you need by using an internet browser like Google Chrome and having the extension "EditThisCookie" Installed. Log in the crunchyroll.com, right click anywhere on the page and click Edit this Cookie. You'll find everything you need so edit them in and save.

R9delta avatar Mar 21 '16 06:03 R9delta