1
0
Fork 0
mirror of https://github.com/Findus23/HNReader.git synced 2024-09-19 15:23:44 +02:00
HNReader/reader/reader.php
2021-04-08 22:29:27 +02:00

13 lines
193 B
PHP

<?php
require_once "vendor/autoload.php";
use Graby\Graby;
$url = file_get_contents("php://stdin");
$graby = new Graby();
$result = $graby->fetchContent($url);
echo json_encode($result);