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

Cannot login

Open Dokman opened this issue 9 years ago • 28 comments

When i try to login the login part it give me an error and says me that the login is failed what i can do?

Dokman avatar Sep 09 '16 11:09 Dokman

rrefered to: https://github.com/einstein95/crunchy-xml-decoder/pull/77

Dokman avatar Sep 09 '16 12:09 Dokman

Getting the same error too but even with the fix, had even tried to make a new cookie and it tells me it can not verify my log in and the one copy still have a cookie in all it is downloading is 480p even with the config file set to 720p. Yes i have a premium account to download above 480p.

python version=2.7.5 32 bit OS Version=Windows 8 6.2.9200 System Type=AMD64 Crypto installed lxml installed Do you have an account [Y/N]?y Username: Password(don't worry the password are typing but hidden: Login failed. Press any key to continue . . .

darkhelmet2016 avatar Sep 15 '16 02:09 darkhelmet2016

same issue here.

johnfigs avatar Sep 15 '16 03:09 johnfigs

They seemed to have moved to a completely different login form, including token for CSRF protection.

jsonn avatar Sep 15 '16 08:09 jsonn

I have a working login again, need to sort out a pull request...

jsonn avatar Sep 15 '16 13:09 jsonn

what do you mean by sorting out the pull request ? thx

rafaelSorel avatar Sep 15 '16 14:09 rafaelSorel

Convert my local changes into a form that can be published.

jsonn avatar Sep 15 '16 14:09 jsonn

Could you expose an example please ?

rafaelSorel avatar Sep 15 '16 14:09 rafaelSorel

Please try #78.

jsonn avatar Sep 15 '16 16:09 jsonn

Still have same login problem...

punisher0 avatar Sep 15 '16 16:09 punisher0

Can you check (e.g. by changing the text) which of the two 'Login failed' in login.py you are hitting?

jsonn avatar Sep 15 '16 16:09 jsonn

All seems to be ok now except for this anime (http://www.crunchyroll.com/mahou-shoujo-naria-girls) i can't download french subtilte i'm gettig this error:

Couldn't parse XML file. Traceback (most recent call last): File "C:\Users\punisher\Desktop\CR\crunchy-xml-decoder.py", line 341, in makechoise() File "C:\Users\punisher\Desktop\CR\crunchy-xml-decoder.py", line 279, in makechoise decode.decode(raw_input('Please enter Crunchyroll video URL:\n')) File "crunchy-xml-decoder\decode.py", line 126, in decode subfile.write(formattedsubs.encode('utf-8-sig')) AttributeError: 'NoneType' object has no attribute 'encode'

punisher0 avatar Sep 15 '16 17:09 punisher0

Ah, right. subtitle-only mode has another consumer. Should be fixed.

jsonn avatar Sep 15 '16 18:09 jsonn

How do I download your new version of this project? https://github.com/einstein95/crunchy-xml-decoder/pull/78

johnfigs avatar Sep 16 '16 04:09 johnfigs

I may have downnloaded the right version, but it seems like I am getting the error below. Running on windows 10 64bit

Traceback (most recent call last): File "C:\Users\jola\Downloads\crunchy-xml-decoder-c519dbb92be6e9cd75f167de3561b3618078c5df\crunchy-xml-decoder-c519dbb92be6e9cd75f167de3561b3618078c5df\crunchy-xml-decoder.py", line 12, in import decode File "crunchy-xml-decoder\decode.py", line 48 if len(os.path.join('export', title+'.ass') > 255: ^ SyntaxError: invalid syntax

johnfigs avatar Sep 16 '16 05:09 johnfigs

Sorry, typo I didn't trigger due to only using ultimate directly. Should also be fixed now.

jsonn avatar Sep 16 '16 09:09 jsonn

I am also having issues logging in. I download the code about 15 minutes ago. I still have the original source code from when this was available on darkztar.com and it still works for logging in. You guys have obviously changed the code quite a bit since then so I dont want to go merging the two.

Edit: I ended up downloading the new login.py from #78 and that is working. Just waiting for that sweet HLS support :)

ScriptingShogun avatar Sep 16 '16 10:09 ScriptingShogun

Its work for login but we have to login everyday so i guess there is a limitation time at cookies ? or what. and still waiting for subtitle issue to be fixed :)

punisher0 avatar Sep 16 '16 10:09 punisher0

@punisher0 Just update for that.

jsonn avatar Sep 16 '16 10:09 jsonn

I have updated and now got this error when i want to download only subtitle only :

Traceback (most recent call last): File "C:\Users\punisher\Desktop\CR\crunchy-xml-decoder.py", line 341, in makechoise() File "C:\Users\punisher\Desktop\CR\crunchy-xml-decoder.py", line 279, in makechoise decode.decode(raw_input('Please enter Crunchyroll video URL:\n')) File "crunchy-xml-decoder\decode.py", line 42, in decode lang1, lang2, forcesub, forceusa, localizecookies, vquality, onlymainsub = a ltfuncs.config() ValueError: need more than 6 values to unpack

punisher0 avatar Sep 16 '16 11:09 punisher0

That's not a consistent source. You can also just checkout https://github.com/jsonn/crunchy-xml-decoder/tree/unix-hls directly, it's the branch behind the pull request.

jsonn avatar Sep 16 '16 12:09 jsonn

Having the same log in issue where it is showing that have a guest account and having to re log in every day. The website does the same thing now where it forces you to relog in every day or if you close the browser at any time.

darkhelmet2016 avatar Sep 16 '16 19:09 darkhelmet2016

you can login if you set it to dimension6 okay if you have a trial account because or you use another method for paying than the first one you will have ga('set', 'dimension5', 'freetrial'); ga('set', 'dimension6', 'premium');

Dokman avatar Sep 21 '16 21:09 Dokman

Please tell me anyone if anyone have problems with commit https://github.com/einstein95/crunchy-xml-decoder/commit/d72c2aa7a1f61b28ebc89333c79fb0a27a53b3ad

Dokman avatar Sep 21 '16 22:09 Dokman

Yeah it results in a login failed. because (at least in the german version and in the version via american vpn) there is no dimension6 with premium, only dimension5 with premium. Image of source

When I change it back it works perfectly fine for me.

sgreve avatar Sep 22 '16 23:09 sgreve

The new login issue has to do with a sessiontoken cookie That is a session cookie it's self so it gets dumped automatically I fixed my auto login myself by just making it a regular cookie that expires next month (same time as the User I'd one does) Then again loging in every time does not bother me as I have it setup to do so anyway because it's automatic Gets the details From an ini file (so it's not in the code) Why this is not part of this project I don't get It's so convenient

The only reason I jump right to it being a session cookie issue rather than something else Was Just the day before I was dealing with Funimation's welcome page redirect Which broke Funicom-DL(my code) and it was a session cookie issue as well

Pikanet128 avatar Sep 23 '16 07:09 Pikanet128

Noone has written the logic for just saving & reloading usern ame/password :) I have my own local hacks to just hard-code it in login.py, haven't bothered yet to clean it up.

jsonn avatar Sep 23 '16 07:09 jsonn

I've hacked my copy a ton To make it do what I want Well it acually runs similar to Funicom-DL With a que file so you can paste it a lot of urls Start it and walk away I really need to clean up Funicom-DL and put it up here on github I'm just waiting now for there site update as I know that's going to break it. Then I write it again from scratch and fix the rediculusnes of it. I've learned a lot about python since I wrote it (v2&3) (v1 was just a batch script to call rtmpdump back when they still used rtmp)

Pikanet128 avatar Sep 23 '16 08:09 Pikanet128