DIYgod/RSSHub · error · NotFoundError

${(error as Error).message}

Error message

${(error as Error).message}

What it means

Error "${(error as Error).message}" thrown in DIYgod/RSSHub.

Source

Thrown at lib/routes/picuki/profile.ts:101

                    'User-Agent': config.trueUA,
                },
            });
        } catch (error) {
            if ((error as { status?: number }).status === 403) {
                const { page, destroy } = await getPlaywrightPage(profileUrl, {
                    onBeforeLoad: async (page) => {
                        const expectResourceTypes = new Set(['document', 'script', 'xhr', 'fetch']);
                        await page.route('**/*', (route) => {
                            const request = route.request();
                            expectResourceTypes.has(request.resourceType()) ? route.continue() : route.abort();
                        });
                    },
                });
                await page.waitForSelector('.content');
                response = await page.content();
                await destroy();
            } else {
                throw new NotFoundError((error as Error).message);
            }
        }

        const $ = load(response);

        if ($('.posts-empty').length) {
            throw new Error($('.posts-empty').text().trim() || 'No posts found');
        }
        if ($('.error-p').length) {
            throw new Error($('.error-p span').text().trim() || 'Profile not found');
        }

        const username = $('.profile-info .username').text().trim();

        const items = $('.posts-video .posts__video-item .posts__video-item-a')
            .toArray()
            .map((item) => {
                const $item = $(item);

View on GitHub (pinned to bed535e087)

Solutions

  1. Check that the requested Instagram profile exists and is public.
  2. Retry later; picuki may be rate-limiting or blocking requests.

When it happens

Trigger: The underlying request to picuki fails and the upstream error message is rethrown.

Common situations: See trigger scenarios.


AI-assisted analysis of DIYgod/RSSHub@bed535e087 (2026-08-12). Data as JSON: /api/errors/4018d51b7a3e228b. Report an issue: GitHub.