einstein95 / crunchy-xml-decoder

GNU General Public License v2.0
35 stars 14 forks source link

Cannot login #76

Open Dokman opened 8 years ago

Dokman commented 8 years ago

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 commented 8 years ago

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

darkhelmet2016 commented 8 years ago

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 . . .

johnfigs commented 8 years ago

same issue here.

jsonn commented 8 years ago

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

jsonn commented 8 years ago

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

rafaelSorel commented 8 years ago

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

jsonn commented 8 years ago

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

rafaelSorel commented 8 years ago

Could you expose an example please ?

jsonn commented 8 years ago

Please try #78.

punisher0 commented 8 years ago

Still have same login problem...

jsonn commented 8 years ago

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

punisher0 commented 8 years ago

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'

jsonn commented 8 years ago

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

johnfigs commented 8 years ago

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

johnfigs commented 8 years ago

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

jsonn commented 8 years ago

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

ScriptingShogun commented 8 years ago

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 :)

punisher0 commented 8 years ago

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 :)

jsonn commented 8 years ago

@punisher0 Just update for that.

punisher0 commented 8 years ago

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

jsonn commented 8 years ago

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.

darkhelmet2016 commented 8 years ago

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.

Dokman commented 8 years ago

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 commented 8 years ago

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

sgreve commented 8 years ago

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.

Pikanet128 commented 8 years ago

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

jsonn commented 8 years ago

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.

Pikanet128 commented 8 years ago

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)