A simple php class to download videos from aparat and fetch information about them.
It is just a simple script written with PHP to get video links from Aparat You gives the script, URLS; and it will give you video information + video download links.
include 'aparat.class.php';
$aparat = new aparatDownloader();
$result = $aparat->getVideo("https://www.aparat.com/v/w4IbJ");
- Not all aparat videos are downloadable! This script will get download links only if they are available.
You can check it with
$result['downloadable']
value. - Don't change content of aparat.class.php, It is so sensitive.