I'd like to write a batch script that will download a file from the file sharing site MEGA. If MEGA provided direct links, I could easily use wget to download the file. However, MEGA doesn't support direct links in any way.
The only way I can think of to download it is to have the batch script communicate with the HTML on the download page such that I could execute the same actions as clicking the 'Download' button on MEGA. Is this possible? Could I somehow grab the
<div>tag that represents the download button and get the same response as a mouse click?
Thanks for any help you guys can give.