Skip to content

Mnshawaty/Mediafire-Direct-Link-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mediafire Direct Link API

A simple PHP script to get the direct download link for a media fire file
REQUIREMENTS FOR API:
PHP 8+
YOU MUST PASS THE REQUESTED URL AS A GET REQUEST. THE URL MUST BE BASE64 ENCODED AND URL ENCODED!
Example original link:
https://www.mediafire.com/file/sa8c1547ath2oj/8f8517a36c7709b3c77fbe02.webp/file (NOT REAL)
You can try it on my website at https://projects.samzy.dev/media?url={URLENCODEDBASE64ENCODEDURL}
ex.
https://example.com/endpoint?url=aHR0cHM6Ly93d3cubWVkaWFmaXJlLmNvbS9maWxlL3NhNTQ3MWF0aDJvai84Zjg1MTdhMzZjNzliM2M3N2ZiZTA5ZTc2MzM1YzIucG5nL2ZpbGU%3D
(The example link does not work)

About

A simple PHP script to get the direct download link for a media fire file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%