Skip to content

Fail to get liked tweets using auth cookies #194

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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