mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 15:41:45 +00:00
fix: update post title extraction logic in getPosts function; bump version to 1.13 in manifest
This commit is contained in:
@@ -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", "") ||
|
||||
|
||||
Reference in New Issue
Block a user