@book000/pixivts - v0.63.0
    Preparing search index...

    Interface WebviewNovel

    Structured novel content parsed from the WebView HTML page.

    Returned by client.novels.text() (GET /webview/v2/novel). pixiv embeds this data as a JavaScript object literal inside the HTML page rather than returning JSON directly, so several id-like fields are strings rather than numbers — unlike the numeric ids used throughout the rest of this library.

    interface WebviewNovel {
        aiType: number;
        caption: string;
        cdate: string;
        coverUrl: string;
        id: string;
        isOriginal: boolean;
        marker?: string | null;
        rating: WebviewNovelRating;
        seriesId?: string | null;
        seriesIsWatched?: boolean | null;
        seriesNavigation: WebviewNovelSeriesNavigation | null;
        seriesTitle?: string | null;
        tags: string[];
        text: string;
        title: string;
        userId: string;
    }
    Index
    aiType: number

    AI-generated content flag: 0 = no AI, 1 = partial AI, 2 = fully AI

    caption: string

    Synopsis / caption (may contain HTML).

    cdate: string

    ISO 8601 date-time string of when the novel was posted.

    coverUrl: string

    Cover image URL.

    id: string

    Work ID, as a string.

    isOriginal: boolean

    Whether the novel is an original work (not fan fiction).

    marker?: string | null

    Reading-position marker for the authenticated user (null or absent if none).

    Like / bookmark / view counters.

    seriesId?: string | null

    Series ID (null or absent if the novel does not belong to a series).

    seriesIsWatched?: boolean | null

    Whether the authenticated user is watching (following) the series (null or absent if the novel does not belong to a series).

    seriesNavigation: WebviewNovelSeriesNavigation | null

    Prev/next navigation for the series this novel belongs to.

    null if the novel does not belong to a series (confirmed against real WebView responses — pixiv sends this field as null, not {}, in that case).

    seriesTitle?: string | null

    Series title (null or absent if the novel does not belong to a series).

    tags: string[]

    Tags attached to the novel.

    text: string

    Full novel body text.

    title: string

    Title of the novel.

    userId: string

    Author's user ID, as a string.