Skip to content

Fail to get liked tweets using auth cookies #194

@divaltor

Description

@divaltor

Hi, thanks for this library.

After recent update by X (probably?) I get an issue with that error OnDemandFileUrlResolutionError: Unable to resolve the X ondemand chunk URL from the homepage runtime, I could try to investigate it some day, but create issue first currently

Using version 0.22.3

Reproducable code, but it's quite easy one

import { Scraper } from "@the-convocation/twitter-scraper";

const cookies = '';

const scrapper = new Scraper({ experimental: { xClientTransactionId: true, xpff: true } });
await scrapper.setCookies(cookies.toString().split(";"));

UPD: Tried it without experimental features and it works, may be caused by temporary problems from X?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions