There was a time when rapidshare fought hard against automated downloads. They struggled for a long time, but in the end they just gave up anyway. Prolly it cost them a fortune to pay programmers to just update their site with new defenses every once in a while.
IMO, if community has real interest in these hosts it doesn't matter if a plugin is open source or not, they will eventually give up