fix: update search URLs to use m3u8 proxy for improved access

This commit is contained in:
himanshu8443
2025-07-31 13:53:20 +05:30
parent ee8f7f036c
commit d40642c986
4 changed files with 5 additions and 5 deletions

View File

@@ -76,14 +76,14 @@ async function posts(
): Promise<Post[]> {
try {
const { axios, cheerio } = providerContext;
const urlRes = await axios.get(url, {
const urlRes = await fetch(url, {
headers: {
...headers,
Referer: url,
},
signal,
});
const $ = cheerio.load(urlRes.data);
const $ = cheerio.load(await urlRes.text());
const posts: Post[] = [];
$(".blog-items")
?.children("article")