Skip to content

Request: Expose lang and noLinks options in @supadata/js web.scrape #14

@tycomo

Description

@tycomo

We’re trying out @supadata/js for web scraping to pair with Video Transcripts and noticed the HTTP API supports lang and noLinks query params, but the SDK web.scrape(url: string) signature doesn’t allow passing these options.

Request:

  • Expose optional params on web.scrape, e.g.
  const result = await supadata.web.scrape("https://example.com", {
    noLinks: true,
    lang: "en",
  });

or

//I think more consistent with how transcripts works? 
const result = await supadata.web.scrape({ url, noLinks: true, lang: "en" });

Thanks

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