Actualiser api.php
This commit is contained in:
@@ -105,11 +105,6 @@ function extractYear($dateStr) {
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
l)) {
|
|
||||||
$result['format'] = 'DVD';
|
|
||||||
} elseif (preg_match('/\bVHS\b/i', $html)) {
|
|
||||||
$result['format'] = 'VHS';
|
|
||||||
}
|
|
||||||
// ── API DVDFr (NOUVELLE VERSION : Scraping HTML car l'API XML est morte) ──
|
// ── API DVDFr (NOUVELLE VERSION : Scraping HTML car l'API XML est morte) ──
|
||||||
function fetchDVDFr($ean, $pdo) {
|
function fetchDVDFr($ean, $pdo) {
|
||||||
if (empty($ean) || strlen($ean) < 8) return null;
|
if (empty($ean) || strlen($ean) < 8) return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user