WordRider Home
Welcome! Log In Create A New Profile

Advanced

Improvement in Direct Downloads feature -- Whitelisted Domains

Posted by honey_ami 
Improvement in Direct Downloads feature -- Whitelisted Domains
January 22, 2017 12:10PM
Hi team

I do not want to enable Direct Downloads option
because if a host does not have a plugin,
it will grab the page instead.

So can the Direct Downloads thing made to accept whitelisted domains only?
Example ~

Frequently grab opera binaries from

Language: HTML
http://operasoftware.pc.cdn.bitgravity.com/pub/opera/desktop/   or   http://download2.operacdn.com/pub/opera/desktop/


similarly ccleaner portable direct link

Language: HTML
http://www.piriform.com/ccleaner/download/portable/downloadfile

Suppose we save these set of domains in a text file,
FRD may enable Direct Downloads option for these only.. what say?
Re: Improvement in Direct Downloads feature -- Whitelisted Domains
April 09, 2017 12:25PM
Technically it's possible, but it requires core code modification.

The easier alternative would be to create custom plugin which extends DirectDownload plugin functionality. The set of domains will not be in text file but instead in the custom plugin's descriptor in form of regular expression (regex). The other advantage of this method: the set of domains will be recognized by FRD's clipboard monitor.

I think it's not hard, want to give it a try? smiling smiley
Re: Improvement in Direct Downloads feature -- Whitelisted Domains
April 10, 2017 06:11AM
Yeah it sounds good.
If possible, please implement this.



Quote
I think it's not hard, want to give it a try?


wish I could offer patches sad smiley
Re: Improvement in Direct Downloads feature -- Whitelisted Domains
April 10, 2017 11:56AM
I just realized, someone also asked the same feature.

I think the downside of CustomDirectDownload plugin (if somehow it will get created) would be cumbersome to edit the URL patterns. It's inside jar/archive file, and user have to have the URL patterns backed-up somewhere in case it's getting overwritten by plugin update or application update.
Sorry, only registered users may post in this forum.

Click here to login