Skip to content

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

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

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