Request: Expose lang and noLinks options in @supadata/js web.scrape
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- api
Research direction
Start at the web.scrape(url: string) SDK entry point and compare its request shape with the existing transcripts options. Trace how HTTP query parameters are assembled, then verify that lang and noLinks can be supplied through the chosen API shape and reach the web-scraping request.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- TypeScript
- Stars
- 22
- Forks
- 8
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from supadata-ai/js
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
supadata-ai/js#16 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
supadata-ai/js#12 ·
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100