mcrapet / plowshare

Command-line tool and engine for managing sharing websites
GNU General Public License v3.0
847 stars 88 forks source link

Forced wait even if premium user #51

Closed ghost closed 8 years ago

ghost commented 8 years ago

When i download my files via textfile and as a premium account user, plowdown always forces a 30-secound wait inbetween links. Output says : "Same previous hoster, forced wait requested" Is there a reason to it, or is it a bug?

Thanks!

Raziel-23 commented 8 years ago

In a particular module must be set for all users the following global variable:

MODULE_XXX_DOWNLOAD_SUCCESSIVE_INTERVAL=30

You have to give me a service name, then I will change it for premium accounts.

Raziel-23 commented 8 years ago

Nevermind, only uploaded_net module has such global variable, see here. You can change it and test how it works for you, because it is set there for a reason. Maybe it is not needed anymore and can be set to 0, but I don't have a premium account there so you have to test it.

ghost commented 8 years ago

I'll give a try tommorow and report back. Thanks !

Edit : Just edited the constant from 30 to 0 and everything works as usual. No errors or slow download performance.

mcrapet commented 8 years ago

Unless exeption, MODULE_xxx_DOWNLOAD_SUCCESSIVE_INTERVAL must be set 0 when using premium account. See bayfiles.sh for an example.

Raziel-23 commented 8 years ago

@mcrapet So we leave it there as it is, or we change it to 0? I prefer to ask, because I'm not the author of this module and maybe setting this there is still valid.

mcrapet commented 8 years ago

@jedipimpmasterflex Next time, open issue on plowshare-modules-legacy. Thanks.

https://github.com/mcrapet/plowshare-modules-legacy/commit/ad891aacb4ae40a87edfc12b012de3f4b6ce1204