alltube/json.php
2014-03-28 20:35:32 +01:00

10 lines
222 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 json_encode($video);
}
?>