Anyone know how to generate a direct download link from freakshare or megaupload?
<p>For example, I have the link <a href="http://freakshare.com/files/xwordsae/example.rar.html" rel="nofollow">http://freakshare.com/files/xwordsae/example.rar.html</a></p>

<p>What would be the best way to get the direct download link, which is </p>

<p><a href="http://w9fr.freakshare.com/get.php?dlid=812352412323153030f3c039/" rel="nofollow">http://w9fr.freakshare.com/get.php?dlid=812352412323153030f3c039/</a></p>

<p>and the file size in Java?</p>

<p>Anyone has any idea?  Using http parser? or other better tools?</p>

<p>Thank you very much!!</p>
