alltube/json.php

11 lines
222 B
PHP
Raw Normal View History

2014-03-13 19:07:56 +00:00
<?php
$python="/usr/bin/python";
require_once 'download.php';
if (isset($_GET["url"])) {
header('Content-Type: application/json');
$video = VideoDownload::getJSON($_GET["url"]);
2014-03-28 19:35:32 +00:00
echo json_encode($video);
2014-03-13 19:07:56 +00:00
}
?>