Feature #81248

Refactoring: Re-Using of directurls

Added by pspzockerscene over 4 years ago. Updated over 4 years ago.

Status:NewStart date:10/08/2016
Priority:NormalDue date:
Assignee:-% Done:


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.

Fine tuning:
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.
-Non-Account download
-Free Account download
-Premium account download

Related issues

Duplicated by Feature #86729: Plugins: generic checkDirectDownload method Assigned 03/01/2019

Also available in: Atom PDF