mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(route): iwara subscriptions (#10545)
Co-authored-by: FeCCC <964575805@qq.com>
This commit is contained in:
@@ -5,7 +5,8 @@ const { art } = require('@/utils/render');
|
||||
const path = require('path');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const rootUrl = `https://ecchi.iwara.tv/subscriptions`;
|
||||
const rootUrl = `https://ecchi.iwara.tv`;
|
||||
const subUrl = `https://ecchi.iwara.tv/subscriptions`;
|
||||
const cookie = config.iwara.cookie;
|
||||
|
||||
if (cookie === undefined) {
|
||||
@@ -14,7 +15,7 @@ module.exports = async (ctx) => {
|
||||
|
||||
const response = await got({
|
||||
method: 'get',
|
||||
url: rootUrl,
|
||||
url: subUrl,
|
||||
headers: {
|
||||
Cookie: cookie,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user