Spaces:
Paused
Paused
Update rama_series.js
Browse files- rama_series.js +2 -2
rama_series.js
CHANGED
|
@@ -101,9 +101,9 @@ async function getCatalog(skip = 0, searchQuery = '') {
|
|
| 101 |
let poster = posterElement.attr('src');
|
| 102 |
// Verifica che l'URL del poster inizi con 'https://www.themoviedb.org'
|
| 103 |
if (poster && (poster.startsWith('https://www.themoviedb.org') || poster.startsWith('https://ramaorientalfansub.tv/wp-content/uploads'))) {
|
| 104 |
-
|
| 105 |
} else {
|
| 106 |
-
|
| 107 |
poster = null; // Imposta poster a null se non valido
|
| 108 |
}
|
| 109 |
|
|
|
|
| 101 |
let poster = posterElement.attr('src');
|
| 102 |
// Verifica che l'URL del poster inizi con 'https://www.themoviedb.org'
|
| 103 |
if (poster && (poster.startsWith('https://www.themoviedb.org') || poster.startsWith('https://ramaorientalfansub.tv/wp-content/uploads'))) {
|
| 104 |
+
// console.log(`Poster trovato: ${poster}`);
|
| 105 |
} else {
|
| 106 |
+
// console.warn(`Poster non valido o non inizia con 'https://www.themoviedb.org': ${poster}`);
|
| 107 |
poster = null; // Imposta poster a null se non valido
|
| 108 |
}
|
| 109 |
|