Home Bug & Exploit Storyblock audio downloader php script

Storyblock audio downloader php script

Storyblocks Logo

Free access to Storyblocks library of over a million royalty-free music or audio assets as well as an easy-to-use video editor and unlimited downloads.

First create a function in php

function request_audio($search){
$search = urlencode($search);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, “https://www.storyblocks.com/audio/search/$search”);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “GET”);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION,true);
curl_setopt($ch, CURLOPT_ENCODING, ‘gzip, deflate’);
$result = curl_exec($ch);
$uo001 = explode(“var initialState”,$result);
$uo002 = explode(“= {“,$uo001[5]);
$uo003 = explode(“};”,$uo002[1]);
$uo004 = ‘{‘.$uo003[0].’}’;
return $uo004;
function filter($request){
$opopop = “”;
$extract = json_decode($request,true);
if($extract[‘app’][‘search’][‘statusCode’] == 200){
$o = 1;
foreach($extract[‘app’][‘search’][‘stockItems’] as $audio){
$id = $audio[‘stockItem’][‘id’];
$contentId = $audio[‘stockItem’][‘contentId’];
$title = $audio[‘stockItem’][‘title’];
$duration = $audio[‘stockItem’][‘duration’].’ Seconds’;
$previewUrl = $audio[‘stockItem’][‘previewUrl’];
$opopop.= “[$o] $title”.PHP_EOL;
$opopop.= ” Duration : $duration”.PHP_EOL;
$opopop.= ” File : $previewUrl”.PHP_EOL;
return $opopop;
return “Error!”;

Next add a line to call from the function

$search = ‘opening movie’; //change to your search query
echo filter(request_audio($search));

Keep in mind, this is a tutorial for learning only!! any form of abuse is beyond our responsibility

Browser Error? Install Google Chrome in Windows Instant!!

Google Chrome is a cross-platform web browser developed by Google. This browser was first released in 2008 for Microsoft Windows, Read more

Install Free LiteSpeed for DirectAdmin

OpenLiteSpeed is the Open Source edition of LiteSpeed Web Server Enterprise. Both servers are actively developed and maintained by the Read more

Previous articleBrowser Error? Install Google Chrome in Windows Instant!!
Next articleXiaomi Leaks Black Shark 2 Pro Design, Still Carrying the Same Back Panel Design


Please enter your comment!
Please enter your name here