alltube/json.php
2014-03-13 20:07:56 +01:00

10 lines
209 B
PHP

<?php
$python="/usr/bin/python";
require_once 'download.php';
if (isset($_GET["url"])) {
header('Content-Type: application/json');
$video = VideoDownload::getJSON($_GET["url"]);
echo $video;
}
?>