- normal mediafire links are
http://www.mediafire.com/download.php?xxxxxxxxxxx
or
http://www.mediafire.com/?xxxxxxxxxxx
- in the page content, there is a javascript function calling,
cucu('xxxxxxxxxxx','yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy','zzzzz')
- xxxxxx, and yyyyy.... is important key to retrive direct link
- set dummy cookie in request header like this,
('Cookie','ukey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
this is important, mediafire do check that cookie, if not there, it will return dummy page
- send request to -
http://www.mediafire.com/dynamic/download.php?qk=xxxxxxxxxxx&pk=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy&r=zzzzz
- in response content, find following infos
var sServer = 'download00000.mediafire.com';
var sQk = 'xxxxxxxxx';
var sFile = 'FILE_NAME.EXT';
Please report this key to support (KKKKKKKKKKKK)
build direct download url form that.
http://download00000.mediafire.com/KKKKKKKKKKKg/xxxxxxxxxxxx/FILE_NAME.EXT
- please note that character
g after KKKKKKKKK is needed
- mediafire can use download accelerators, so it is useful when you want to download hundreds of files, first, dump direct links and pass it to download accelerators
Cheers,