fix: update post title extraction logic in getPosts function; bump version to 1.13 in manifest

This commit is contained in:
Himanshu
2026-01-06 21:10:59 +05:30
parent 7a722373cd
commit ad2dc20581
3 changed files with 4 additions and 4 deletions

View File

@@ -90,8 +90,8 @@ async function posts(
const post = {
title: (
$(element)
?.find("a")
?.attr("title")
?.find(".entry-title")
?.text()
?.replace("Download", "")
?.match(/^(.*?)\s*\((\d{4})\)|^(.*?)\s*\((Season \d+)\)/)?.[0] ||
$(element)?.find("a")?.attr("title")?.replace("Download", "") ||