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

Problem with EasyBytez registered account #441

Closed
de666 opened this issue Dec 17, 2013 · 21 comments
Closed

Problem with EasyBytez registered account #441

de666 opened this issue Dec 17, 2013 · 21 comments
Labels
plugin bug Plugin isn't working

Comments

@de666
Copy link

de666 commented Dec 17, 2013

There is something not working correctly about EasyBytez using a registered (not premium) account.
According to the Features Checklist table here http://www.easybytez.com/premium.html, a registered account should be able to download 3GB of data per day. After the last account plugin update the registered account works as a free account so the limit falls down to 1GB per day and the following warning appers on pyload

EasybytezCom: You have reached the download-limit: 1024 Mb for last 1 days

The EasyBytez account seems to be well configured in pyload
If I can do some test for you, please let me know.

@de666
Copy link
Author

de666 commented Dec 18, 2013

I make a small test trying to download a file directly from the website (after login) and I saw that the post parameters sent by the browser are different from those sent by pyload.
For example:

Browser sent
method_free:Free Download
method_premium:

pyLoad
method_premium:Premium Download
method_free:Free Download

Downloading directly from website works well as expected for a registered user (I can see that looking at the download speed).
maybe the plugin has to distinguish a real premium account from a free (registered) account...I think.

@stickell
Copy link
Contributor

Thanks I'll check it out.

@de666
Copy link
Author

de666 commented Dec 21, 2013

Any news?
I double checked the post parameters and maybe I was wrong, they seems to be ok.
Could be something related with cookies?
Is there a way to display in the log file (debug mode) the cookies sent by pyload when it requests the file so I can make another check?

@stickell
Copy link
Contributor

I had no time yet to work on it, I'm quite busy this period.

@de666
Copy link
Author

de666 commented Mar 6, 2014

Any news about it?

@de666 de666 closed this as completed Mar 6, 2014
@de666 de666 reopened this Mar 7, 2014
@stickell
Copy link
Contributor

Should have been fixed in #546

@de666
Copy link
Author

de666 commented Mar 31, 2014

It is not fixed, I've tried a few minutes ago and the problem still remains (with EasyBytez account plugin v0.04). Files are downloaded as a free account and not as registered account (speed is KiB/s and not 150 KiB/s and there is the limitation to 1GB per day instead of 3GB).
This is what is reported about my free account inside the debug log:

EasybytezCom: Account Info: {'premium': False, 'validuntil': 1341352800.0, 'trafficleft': None}

And this is an example of a file:

EasybytezCom: easybytez.com | {u'method_premium': u'Premium Download', u'usr_login': '', u'referer': u'http://www.easybytez.com/nhwd1onnypin', u'fname': u'comsp.part08.rev', u'method_free': u'Free Download', u'id': u'nhwd1onnypin', u'op': u'download1'}

Please tell me if you need further details

@stickell
Copy link
Contributor

stickell commented Apr 2, 2014

No, it's enough. I'll have to work on it.

@Guidobelix
Copy link
Contributor

I have the same problem as de666.
Any update on this issue?

@de666
Copy link
Author

de666 commented Jul 1, 2014

Why this issue has been marked with "test needed"?
I have already tested it a couple of months ago and no changes have been done inside the code since that date so I think it's hard to think the plugin now is working.
Please, tell me what test do you need and I'll do it for you.

@vuolter
Copy link
Contributor

vuolter commented Jul 1, 2014

My fault. I'll check it tonight.
Edit: Postponed.

@de666
Copy link
Author

de666 commented Aug 28, 2014

Any update?

@vuolter
Copy link
Contributor

vuolter commented Aug 28, 2014

Sorry, all devs are focused on 0.4.10 development now. :(

@Guidobelix
Copy link
Contributor

I believe I found the root cause of the problem: If pyload sees that account is expired, it will not use cookies.
Therefore the solution is, once the premium account is expired, to set Premium = False and validuntil = -1.
See Pull Request #737

@vuolter
Copy link
Contributor

vuolter commented Sep 14, 2014

a007393

@vuolter vuolter closed this as completed Sep 14, 2014
@de666
Copy link
Author

de666 commented Sep 16, 2014

The problem is still present:

DEBUG EasybytezCom: Account Info: {'premium': False, 'validuntil': 1341352800.0, 'trafficleft': -1}
DEBUG Finished Info Fetching for EasybytezCom
INFO Download finished: comsp.part030.rar
INFO Download starts: comsp.part031.rar
DEBUG EasybytezCom: URL: http://www.easybytez.com/dzes8rab0le3
DEBUG EasybytezCom: FILE NAME: comsp.part031.rar FILE SIZE: 106954752
DEBUG EasybytezCom: Getting download link: #0
DEBUG EasybytezCom: easybytez.com | {u'method_premium': u'Premium Download', u'usr_login': '', u'referer': u'http://www.easybytez.com/dzes8rab0le3', u'fname': u'comsp.part031.rar', u'method_free': u'Free Download', u'id': u'dzes8rab0le3', u'op': u'download1'}
WARNING EasybytezCom: You have reached the download-limit: 600 Mb for last 1 days

and again the transfer rate (when the file is downloaded) is 100 KB/s (and not 300 KB/s as downloading from website).
Does anyone tested the modifications before closing this issue?

@vuolter vuolter reopened this Sep 16, 2014
@Guidobelix
Copy link
Contributor

Yes, I did test it and it still works correctly for me, but I still use my forked repo.
There is something wrong in your log: after the modification you should see validuntil = -1. The fact that you still have 'validuntil': 1341352800.0 explains why you are seen as "free" user and not as a registered one.
I beieve there has been a copy&paste error somewhere, as there is one line missing in the committed code. When I am home tonight I'll create a new pull request.

Guidobelix added a commit to Guidobelix/pyload that referenced this issue Sep 16, 2014
Fixes (again) pyload#441.
The logic has to be:
If not premium:
    validuntil = -1
elseif premium
    validuntil = expiredate
Guidobelix added a commit to Guidobelix/pyload that referenced this issue Sep 16, 2014
Fixes (again) pyload#441.
The logic has to be:
If not premium:
    validuntil = -1
elseif premium
    validuntil = expiredate
@Guidobelix
Copy link
Contributor

See #744.
@de666 Apologies for the confusion!

@vuolter
Copy link
Contributor

vuolter commented Sep 16, 2014

8d2ce2b

I really want close this issue forever, it's... personal now! XD

@Guidobelix
Copy link
Contributor

@de666 Could you please confirm that it is working now?

@de666
Copy link
Author

de666 commented Sep 18, 2014

Yes, now it is working.
Thankyou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin bug Plugin isn't working
Development

No branches or pull requests

4 participants