Refactoring: Re-Using of directurls
|Target version:||020 - Next Release 2.0|
See function checkDirectLink in a lot of plugins.
Use general function instead of this.
Check if it is possible/makes sense to generally try to re-use old urls - keep in mind that this is usually not possible for POST requests prior downloadstart.
Maybe add a boolean function isIpBound so that the function knows whether it should actually check an url - e.g. after a reconnect, for a lot of hosters the directlinks will no be re-usable!
Also consider that there are different directurls for the following accounts/szenarios.
-Free Account download
-Premium account download