Merge pull request #68 from Jadeiin/main

fixed video api
This commit is contained in:
hnhx 2022-09-11 16:19:05 +02:00 committed by GitHub
commit f1eea7b612
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,8 +34,8 @@
$results = get_image_results($query_encoded, $page);
break;
case 2:
require "engines/google/video.php";
$results = get_video_results($query_encoded, $page);
require "engines/brave/video.php";
$results = get_video_results($query_encoded);
break;
case 3:
if ($config->disable_bittorent_search)
@ -54,4 +54,4 @@
header("Content-Type: application/json");
echo json_encode($results, JSON_PRETTY_PRINT);
?>
?>