mirror of
https://git.luna-app.eu/50n50/sources
synced 2025-12-21 13:16:21 +01:00
Update animeler/animeler.js
This commit is contained in:
parent
a70f69559a
commit
9e589f3dc4
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue