parent
c9990a2084
commit
8825ff2117
4 changed files with 40 additions and 17 deletions
14
json.php
14
json.php
|
@ -1,6 +1,16 @@
|
|||
<?php
|
||||
|
||||
$python="/usr/bin/python";
|
||||
/**
|
||||
* PHP web interface for youtube-dl (http://rg3.github.com/youtube-dl/)
|
||||
* JSON API
|
||||
*
|
||||
* PHP Version 5.3.10
|
||||
*
|
||||
* @category Youtube-dl
|
||||
* @package Youtubedl
|
||||
* @author Pierre Rudloff <rudloff@strasweb.fr>
|
||||
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html
|
||||
* @link http://rudloff.pro
|
||||
* */
|
||||
require_once 'download.php';
|
||||
if (isset($_GET["url"])) {
|
||||
header('Content-Type: application/json');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue