리빌더 부분 추가

This commit is contained in:
2025-07-02 14:13:16 +09:00
parent b491c16b5e
commit 68797db562
1200 changed files with 264947 additions and 0 deletions

View File

@ -0,0 +1,20 @@
<?php
include_once("./_common.php");
header('Content-Type: application/json');
$data = json_decode(file_get_contents('php://input'), true);
$url = $data['url'];
if (!$url) {
echo json_encode(['error' => 'Invalid URL']);
exit;
}
$editor_url = G5_EDITOR_URL.'/'.$config['cf_editor'];
// 🛠️ 실제 메타데이터 스크래핑을 수행하는 파일 호출
$metadata_url = $editor_url.'/php/rb.metadata.php?url=' . urlencode($url);
$response = file_get_contents($metadata_url);
echo $response;
?>