forked from 50n50/sources
Update animeler/animeler.js
This commit is contained in:
@@ -31,7 +31,7 @@ async function extractDetails(url) {
|
||||
const response = await fetchv2(url);
|
||||
const html = await response.text();
|
||||
|
||||
const regex = /<div[^>]*data-synopsis=""[^>]*>([\s\S]*?)<\/div>/;
|
||||
const regex = /<div\s+class="block\s+w-full[^"]*"[^>]*>(.*?)<\/div>/s;
|
||||
const match = html.match(regex);
|
||||
const description = match ? match[1].trim() : "N/A";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user