fix: update sitelist

This commit is contained in:
mrbunker
2024-01-06 00:45:49 +08:00
parent e0c6c0e02a
commit 828803e618
2 changed files with 3 additions and 4 deletions

View File

@@ -130,8 +130,8 @@ export const siteList: SiteItem[] = [
},
{
name: "NETFLAV",
hostname: "netflav.com",
url: "https://netflav.com/search?type=title&keyword={{code}}",
hostname: "netflav5.com",
url: "https://netflav5.com/search?type=title&keyword={{code}}",
fetcher: "parser",
domQuery: {
linkQuery: ".grid_cell>a",
@@ -259,7 +259,7 @@ export const siteList: SiteItem[] = [
{
name: "AV01",
hostname: "av01.tv",
hostname: "www.av01.tv",
url: "https://www.av01.tv/search/videos?search_query={{code}}",
fetcher: "parser",
domQuery: { linkQuery: "div[id].well-sm>a", titleQuery: ".video-views>.pull-left" },

View File

@@ -50,7 +50,6 @@ function serachPageParser(
const matchCode = titleNodeText.match(codeRegex);
const isSuccess =
linkNode && titleNode && matchCode && isCaseInsensitiveEqual(matchCode[0], CODE);
if (isSuccess) {
const targetLinkText = linkNode.href.replace(linkNode.hostname, siteHostName);
return {