René's URL Explorer Experiment


Title: reviews() accepts numOfReviews and never sends it, so a capped call bills every review · Issue #62 · brightdata/sdk-python · GitHub

Open Graph Title: reviews() accepts numOfReviews and never sends it, so a capped call bills every review · Issue #62 · brightdata/sdk-python

X Title: reviews() accepts numOfReviews and never sends it, so a capped call bills every review · Issue #62 · brightdata/sdk-python

Description: Summary AmazonScraper.reviews() accepts numOfReviews, pastDays and keyWord, then never sends them. A caller who writes reviews(url, numOfReviews=20) believes they asked for 20 reviews, and is billed for every review the product has. Revi...

Open Graph Description: Summary AmazonScraper.reviews() accepts numOfReviews, pastDays and keyWord, then never sends them. A caller who writes reviews(url, numOfReviews=20) believes they asked for 20 reviews, and is bille...

X Description: Summary AmazonScraper.reviews() accepts numOfReviews, pastDays and keyWord, then never sends them. A caller who writes reviews(url, numOfReviews=20) believes they asked for 20 reviews, and is bille...

Opengraph URL: https://github.com/brightdata/sdk-python/issues/62

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"reviews() accepts numOfReviews and never sends it, so a capped call bills every review","articleBody":"### Summary\n\n`AmazonScraper.reviews()` accepts `numOfReviews`, `pastDays` and `keyWord`, then never sends them. A caller who writes `reviews(url, numOfReviews=20)` believes they asked for 20 reviews, and is billed for every review the product has.\n\nReviews bill one credit each, so a silently ignored cap is a billing bug, not a cosmetic one.\n\n### Environment\n\n- `brightdata-sdk` 2.5.2 (latest on PyPI)\n- Python 3.12.13\n- Verified 21 Sep 2026, by reading the installed source\n\n### The parameters are accepted and never used\n\nSignature:\n\n```\nreviews(self, url, pastDays=None, keyWord=None, numOfReviews=None, timeout=240)\n```\n\nBody, in full up to the request:\n\n```python\n# Build payload - Amazon Reviews dataset only accepts URL\n# Note: pastDays, keyWord, numOfReviews are not supported by the API\nurl_list = [url] if isinstance(url, str) else url\npayload = [{\"url\": u} for u in url_list]\n\nresult = await self.workflow_executor.execute(\n    payload=payload,\n    dataset_id=self.DATASET_ID_REVIEWS,\n    ...\n)\n```\n\nWith comments stripped, each of `numOfReviews`, `pastDays` and `keyWord` appears **0 times** in the executable body. The payload is built from `url` alone.\n\n### The comment is wrong: the API does support a cap\n\n`GET https://api.brightdata.com/datasets/v3/scrapers?domain=amazon.com` lists the reviews scraper's `collect_by_url` inputs as:\n\n```\nurl, reviews_to_not_include, max_reviews, variation_specific\n```\n\nand Bright Data's own `sample_input` for that scraper is:\n\n```json\n[{\"url\": \"https://www.amazon.com/RORSOU-R10-Headphones-Microphone-Lightweight/dp/B094NC89P9/\",\n  \"reviews_to_not_include\": [], \"max_reviews\": 20, \"variation_specific\": ...}]\n```\n\nSo the cap exists. The SDK names it `numOfReviews`, does not map it to `max_reviews`, and does not send it.\n\n### What it costs\n\n`B0CRMZHDG8` reports `reviews_count: 205036`. `reviews(\"https://www.amazon.com/dp/B0CRMZHDG8\", numOfReviews=20)` sends `{\"url\": ...}` with no cap.\n\nI have not run that call to demonstrate it, because it would bill for all 205,036 reviews. The source above is enough to show what gets sent.\n\n### Compared with the JavaScript SDK\n\nThe JavaScript SDK has the same gap but fails loudly: its reviews filter rejects `max_reviews` with `Unrecognized key`, so the caller knows the cap did not apply (brightdata/sdk-js#37). Here the parameter is accepted without complaint, so the caller has no signal until the bill arrives.\n\n### Expected\n\nSend `numOfReviews` as `max_reviews`. If `pastDays` and `keyWord` have no API equivalent, raise when they are passed, rather than accepting and dropping them.\n\n### Also in this method\n\nThe list-input branch pairs results with URLs by position (`zip(url_list, result.data)`) and marks every result `success=True`, the same defect as #60.\n","author":{"url":"https://github.com/anil-bd","@type":"Person","name":"anil-bd"},"datePublished":"2026-09-21T04:45:55Z","url":"https://github.com/brightdata/sdk-python/issues/62"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:252bbd08-46d3-dcea-3a0e-5def64f7a6c6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBE40:1C0F0F:29DB724:3676921:6B040EBB
html-safe-nonce47924446d3c63369118438d9b6a8d2f725f0b68fff5fa38454b8fa1ce80706e6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTQwOjFDMEYwRjoyOURCNzI0OjM2NzY5MjE6NkIwNDBFQkIiLCJ2aXNpdG9yX2lkIjoiNjA1NzI2NzM0MjY4MjM5NTQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0387c4071f398fac8aa4aa665308f0a851e3eea911cc21301312558864b91c8a
hovercard-subject-tagissue:5522861957
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/brightdata/sdk-python/62/issue_layout
twitter:imagehttps://opengraph.githubassets.com/619644867de2f0dfd6ad0a00d20723af95b91f7d2a9fdc79301ae60d263268da/brightdata/sdk-python/issues/62
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/619644867de2f0dfd6ad0a00d20723af95b91f7d2a9fdc79301ae60d263268da/brightdata/sdk-python/issues/62
og:image:altSummary AmazonScraper.reviews() accepts numOfReviews, pastDays and keyWord, then never sends them. A caller who writes reviews(url, numOfReviews=20) believes they asked for 20 reviews, and is bille...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameanil-bd
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/brightdata/sdk-python git https://github.com/brightdata/sdk-python.git
octolytics-dimension-user_id213028976
octolytics-dimension-user_loginbrightdata
octolytics-dimension-repository_id1033685757
octolytics-dimension-repository_nwobrightdata/sdk-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1033685757
octolytics-dimension-repository_network_root_nwobrightdata/sdk-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/brightdata/sdk-python/issues/62#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrightdata%2Fsdk-python%2Fissues%2F62
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrightdata%2Fsdk-python%2Fissues%2F62
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=brightdata%2Fsdk-python
Reloadhttps://github.com/brightdata/sdk-python/issues/62
Reloadhttps://github.com/brightdata/sdk-python/issues/62
Reloadhttps://github.com/brightdata/sdk-python/issues/62
brightdatahttps://github.com/brightdata
sdk-pythonhttps://github.com/brightdata/sdk-python
Codehttps://github.com/brightdata/sdk-python
Issues12 (12)https://github.com/brightdata/sdk-python/issues
Pull requests6 (6)https://github.com/brightdata/sdk-python/pulls
Actionshttps://github.com/brightdata/sdk-python/actions
Projectshttps://github.com/brightdata/sdk-python/projects
Security and qualityhttps://github.com/brightdata/sdk-python/security
Insightshttps://github.com/brightdata/sdk-python/insights
https://github.com/brightdata/sdk-python
New issuehttps://github.com/login?return_to=https://github.com/brightdata/sdk-python/issues/62
New issuehttps://github.com/login?return_to=https://github.com/brightdata/sdk-python/issues/62
reviews() accepts numOfReviews and never sends it, so a capped call bills every reviewhttps://github.com/brightdata/sdk-python/issues/62#top
https://github.com/anil-bd
anil-bdhttps://github.com/anil-bd
on Sep 21, 2026https://github.com/brightdata/sdk-python/issues/62#issue-5522861957
brightdata/sdk-js#37https://github.com/brightdata/sdk-js/issues/37
#60https://github.com/brightdata/sdk-python/issues/60
Sign up for freehttps://github.com/signup?return_to=https://github.com/brightdata/sdk-python/issues/62
Sign in to commenthttps://github.com/login?return_to=https://github.com/brightdata/sdk-python/issues/62
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.