Title: Add scrape methods for Facebook profiles and Google Maps (Collect by URL) · Issue #63 · brightdata/sdk-python · GitHub
Open Graph Title: Add scrape methods for Facebook profiles and Google Maps (Collect by URL) · Issue #63 · brightdata/sdk-python
X Title: Add scrape methods for Facebook profiles and Google Maps (Collect by URL) · Issue #63 · brightdata/sdk-python
Description: SDK: brightdata-sdk 2.5.2 (latest on PyPI) Summary Two Scraper API endpoints that the docs lead with have no client.scrape method, so they cannot be called through the SDK: Endpoint Dataset ID In the SDK today Facebook Profiles, Collect ...
Open Graph Description: SDK: brightdata-sdk 2.5.2 (latest on PyPI) Summary Two Scraper API endpoints that the docs lead with have no client.scrape method, so they cannot be called through the SDK: Endpoint Dataset ID In t...
X Description: SDK: brightdata-sdk 2.5.2 (latest on PyPI) Summary Two Scraper API endpoints that the docs lead with have no client.scrape method, so they cannot be called through the SDK: Endpoint Dataset ID In t...
Opengraph URL: https://github.com/brightdata/sdk-python/issues/63
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add scrape methods for Facebook profiles and Google Maps (Collect by URL)","articleBody":"**SDK:** brightdata-sdk 2.5.2 (latest on PyPI)\n\n## Summary\n\nTwo Scraper API endpoints that the docs lead with have no `client.scrape` method, so they cannot be called through the SDK:\n\n| Endpoint | Dataset ID | In the SDK today |\n|---|---|---|\n| Facebook Profiles, Collect by URL | `gd_mf0urb782734ik94dz` | only `client.datasets.facebook_profiles` |\n| Google Maps, Collect by URL | `gd_m8ebnr0q2qlklc02fz` | only `client.datasets.google_maps_full_info` |\n\nBoth dataset IDs are already in the package (`brightdata/datasets/facebook/profiles.py` and `brightdata/datasets/google_maps/full_info.py`). Those classes only expose `sample`, `download`, `get_metadata` and `get_status`, so they read marketplace snapshots and cannot collect a given URL.\n\n## Why it matters\n\nThe Facebook and Google quickstarts on docs.brightdata.com use exactly these endpoints:\n\n- https://docs.brightdata.com/products/scrapers/facebook/quickstart (Profiles, `https://www.facebook.com/zuck`)\n- https://docs.brightdata.com/products/scrapers/google/quickstart (Google Maps, Collect by URL)\n\nThe other eight scraper quickstarts (Amazon, ChatGPT, Instagram, LinkedIn, Reddit, TikTok, X, YouTube) now open with a Python SDK tab that calls the matching `client.scrape` method. Facebook and Google Maps are the only two without one, and their readers have to hand-write the `/datasets/v3/trigger` and polling flow.\n\n## What exists today\n\n- `client.scrape.facebook` covers `posts_by_profile`, `posts_by_group`, `posts_by_url`, `comments` and `reels`, but not profiles.\n- `client.scrape` has no Google namespace (`amazon`, `chatgpt`, `digikey`, `facebook`, `instagram`, `linkedin`, `perplexity`, `pinterest`, `reddit`, `tiktok`, `x`, `youtube`).\n- There is no public way to run an arbitrary dataset ID: `scrape_async()` on each scraper always uses the class's own `DATASET_ID`.\n\n## Proposal\n\nAdd collect-by-URL methods that follow the existing naming:\n\n```python\nfrom brightdata import SyncBrightDataClient\n\nwith SyncBrightDataClient(auto_create_zones=False) as client:\n profile = client.scrape.facebook.profiles(url=\"https://www.facebook.com/zuck\")\n place = client.scrape.google_maps.places(\n url=\"https://www.google.com/maps/place/?q=place_id:ChIJS5WVcqWh9YgRHU08rJqLNsQ\"\n )\n```\n\nThe Google Maps discovery endpoints (by location, CID and place ID) would fit the same namespace later.\n\nRelated: #38 asks for a generic Scraper API method that takes any `dataset_id`. That would also unblock both endpoints, but dedicated methods keep the SDK's typed, per-platform surface and match how the docs present the other platforms.\n","author":{"url":"https://github.com/anil-bd","@type":"Person","name":"anil-bd"},"datePublished":"2026-09-30T05:34:10Z","url":"https://github.com/brightdata/sdk-python/issues/63"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:29b7a725-f6d2-1b90-a719-f61757e9f484 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 908A:72891:15EDAFD:1D2A42A:6B04159F |
| html-safe-nonce | eb29d8372c6bcf584798b8a7282217062c1f62cd2ec0bb51f36d322ed9f3e4b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDhBOjcyODkxOjE1RURBRkQ6MUQyQTQyQTo2QjA0MTU5RiIsInZpc2l0b3JfaWQiOiI2Njk0MzcwNDc4NzIwODE2NTQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6ce1352ebfaa19eaa6bf6b0a7d85d566d55e9312c2fd2d9592c70491536caa2f |
| hovercard-subject-tag | issue:5641517740 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/brightdata/sdk-python/63/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4fc7f8528fb3a83c2cf460ee401cadf180b92b00d95f8d1129e4458a96790d41/brightdata/sdk-python/issues/63 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4fc7f8528fb3a83c2cf460ee401cadf180b92b00d95f8d1129e4458a96790d41/brightdata/sdk-python/issues/63 |
| og:image:alt | SDK: brightdata-sdk 2.5.2 (latest on PyPI) Summary Two Scraper API endpoints that the docs lead with have no client.scrape method, so they cannot be called through the SDK: Endpoint Dataset ID In t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anil-bd |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/brightdata/sdk-python git https://github.com/brightdata/sdk-python.git |
| octolytics-dimension-user_id | 213028976 |
| octolytics-dimension-user_login | brightdata |
| octolytics-dimension-repository_id | 1033685757 |
| octolytics-dimension-repository_nwo | brightdata/sdk-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1033685757 |
| octolytics-dimension-repository_network_root_nwo | brightdata/sdk-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width