GitHub Discussions Scraper
Pricing
from $2.99 / 1,000 discussions
GitHub Discussions Scraper
Extracts public GitHub Discussions with titles, bodies, categories, authors, answer state, reactions, comments and replies from public repository pages.
Pricing
from $2.99 / 1,000 discussions
Rating
0.0
(0)
Developer
w3crawler
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
22 days ago
Last modified
Categories
Features
Share
Collect public GitHub Discussions from repository and organization discussion pages. The Actor follows the public listing's next-page link within a bound, opens selected discussion pages, and saves titles, bodies, authors, categories, labels, answer state, timestamps, reactions, comment counts, and optional reply bodies. It uses public HTML pages, not a private API.
Get started
- Open the Actor Store page and choose Try for free, or open the Input tab.
- Add one or more
repositories, such ascommunity/community. - Adjust
query,maxDiscussionsPerRepository, andmaxPagesPerRepositoryfor the first run. - Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open Run summary (
OUTPUT_SUMMARY) to check pagination and detail-page counts.
Input
All fields are optional, and the defaults below are ready to use. Unsupported field names are rejected before requests start.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
repositories | string array | Optional | ["community/community"] | owner/repository slugs or full public GitHub URLs. Up to 20 entries. |
query | string | Optional | sort:date_created_desc | GitHub discussions_q filter, up to 200 characters. The default requests newest discussions first. |
maxDiscussionsPerRepository | integer | Optional | 5 | Maximum detail pages opened and discussion rows emitted per repository. 1–50. |
maxPagesPerRepository | integer | Optional | 2 | Maximum listing pages inspected per repository. Pagination follows the next-page link and preserves the query. 1–10. |
includeReplies | boolean | Optional | true | Include parsed reply bodies, authors, reaction summaries, and timestamps. |
maxReplies | integer | Optional | 20 | Maximum replies retained per discussion; the source comment count is still recorded. 0–100. |
requestDelayMs | integer | Optional | 250 | Delay between sequential public detail requests, 0–5,000 ms. |
timeoutSecs | integer | Optional | 30 | Timeout per listing or detail request, 5–120 seconds. |
maxRequestRetries | integer | Optional | 1 | Retries for timeouts and transient 408, 429, or 5xx responses. Access blocks are not retried indefinitely. 0–3. |
Full default input:
{"repositories": ["community/community"],"query": "sort:date_created_desc","maxDiscussionsPerRepository": 5,"maxPagesPerRepository": 2,"includeReplies": true,"maxReplies": 20,"requestDelayMs": 250,"timeoutSecs": 30,"maxRequestRetries": 1}
The Actor reads anonymous public GitHub HTML and sends no credentials. Proxy configuration and caller tokens are not accepted.
Output
The dataset contains one row per discussion detail page. Missing optional values are omitted rather than inferred; no diagnostic or placeholder rows are written.
| Field | Type | Availability | Meaning |
|---|---|---|---|
recordType | string | null | Always | Discriminator; discussion in the saved rows. |
recordId | string | null | Always | Stable ID derived from repository and discussion number, with a URL fallback. |
dataAvailable | boolean | null | Always | Whether the row contains source-backed discussion data. |
accessStatus | string | null | Always | Public access outcome, public in the saved rows. |
extractionMethod | string | null | Always | Transport used, github_html in the saved rows. |
detailStatus | string | null | Always | Bounded detail-page outcome, succeeded in the saved rows. |
repository | string | null | Always | Normalized repository scope. |
discussionNumber | integer | null | Always | Public discussion number from the canonical URL. |
discussionId | string | null | Always | Discussion identifier exposed in the page source. |
title | string | null | Always | Discussion title. |
body | string | null | Always | Opening discussion body text. |
authorLogin | string | null | Always | Author login when exposed. |
authorUrl | string | null | Always | Author profile URL when exposed. |
createdAt | string | null | Always | Opening-comment timestamp in ISO UTC. |
updatedAt | string | null | Not observed | Update timestamp when the page distinguishes it; not present in the saved rows. |
state | string | null | Always | State text such as Unanswered or Answered. |
isAnswered | boolean | null | Always | Whether the state text explicitly indicates Answered. |
categoryName | string | null | Always | Discussion category name, including any emoji from the page. |
categoryUrl | string | null | Always | Category URL. |
labels | object array | null | Always | Labels with name and url; empty when no labels are shown. |
commentCount | integer | null | Always | Number of public comment bodies parsed from the detail page. |
replyCount | integer | null | Always | Number of parsed replies, independent of the bounded replies array. |
replies | object array | null | Always | Bounded replies with body, createdAt, and reactions; empty when replies are disabled or absent. |
reactions | object array | null | Always | Reaction summaries with name and count parsed from public comments. |
reactionCount | integer | null | Always | Sum of parsed reaction counts. |
discussionUrl | string | null | Always | Canonical public discussion URL. |
sourceUrl | string | null | Always | Final detail URL fetched for the record. |
searchUrl | string | null | Always | Listing URL that produced the record. |
pageNum | integer | null | Always | One-based listing page number. |
position | integer | null | Always | One-based position of the discussion link on its listing page. |
scrapedAt | string | null | Always | Time the detail row was normalized, in ISO UTC. |
The example below is a real saved row from the 2026-10-25 run. The body and reply text are shortened; label and reaction arrays are complete.
{"recordType": "discussion","recordId": "github-discussion:community%2Fcommunity:211260","dataAvailable": true,"accessStatus": "public","extractionMethod": "github_html","detailStatus": "succeeded","repository": "community/community","discussionNumber": 211260,"discussionId": "11127994","title": "Workflow runs stuck in \"queued\" with zero jobs, cannot be cancelled (409 via API, 422 via web UI)","body": "🏷️ Discussion Type Bug 💬 Feature/Topic Area Workflow Configuration Discussion Details Repository: TRGamer-tech/Rezeptli (public) Workflow: .github/workflows/index-bauen.yml…","authorLogin": "TRGamer-tech","authorUrl": "https://github.com/TRGamer-tech","createdAt": "2026-10-25T20:17:08Z","state": "Unanswered","isAnswered": false,"categoryName": "🚢 Actions","categoryUrl": "https://github.com/orgs/community/discussions/categories/actions","labels": [{ "name": "Bug", "url": "https://github.com/orgs/community/discussions?discussions_q=label%3ABug" },{ "name": "Actions", "url": "https://github.com/orgs/community/discussions?discussions_q=label%3AActions" },{ "name": "Workflow Configuration", "url": "https://github.com/orgs/community/discussions?discussions_q=label%3A%22Workflow+Configuration%22" },{ "name": "Welcome 🎉", "url": "https://github.com/orgs/community/discussions?discussions_q=label%3A%22Welcome+%F0%9F%8E%89%22" },{ "name": "source:ui", "url": "https://github.com/orgs/community/discussions?discussions_q=label%3Asource%3Aui" }],"commentCount": 2,"replyCount": 1,"replies": [{"body": "💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us!…","createdAt": "2026-10-25T20:17:45Z","reactions": [{ "name": "upvote", "count": 0 }]}],"reactions": [{ "name": "upvote", "count": 1 },{ "name": "upvote", "count": 0 }],"reactionCount": 1,"discussionUrl": "https://github.com/orgs/community/discussions/211260","sourceUrl": "https://github.com/orgs/community/discussions/211260","searchUrl": "https://github.com/orgs/community/discussions","pageNum": 1,"position": 1,"scrapedAt": "2026-10-25T20:45:42.399Z"}
replies represents parsed reply bodies, while replyCount reflects how many were found; maxReplies caps only the retained array. commentCount counts parsed comment bodies on the page and can differ from GitHub's displayed total when content is collapsed or unavailable.
Run summary
Run summary is stored separately from the dataset in the run's key-value store under OUTPUT_SUMMARY.
| Field | Meaning |
|---|---|
actorName | Actor name. |
status | Actor process outcome: SUCCEEDED or FAILED. |
runStatus | Canonical run status; matches status. |
dataStatus | Completeness of saved rows: COMPLETE, PARTIAL, NO_RESULTS, or FAILED. |
dataAvailable | Whether source-backed rows were saved. |
repositories | Repositories requested for the run. |
query | discussions_q filter used. |
maxDiscussionsPerRepository | Per-repository discussion limit. |
maxPagesPerRepository | Per-repository listing-page limit. |
includeReplies | Whether reply parsing was enabled. |
maxReplies | Per-discussion reply cap. |
listPagesFetched | Listing pages actually fetched. |
discussionsDiscovered | Discussion links discovered on listing pages. |
detailPagesFetched | Detail pages actually requested. |
recordsStored | Complete discussion rows saved. |
recordCount | Record count reported by the saved summary. This legacy field is present in the saved OUTPUT_SUMMARY but is not declared by the key-value-store schema. |
duplicatesSkipped | Duplicate discussion identities skipped. |
sourceBlocked | Whether a public page was blocked or challenged. |
errorCount | Total request or parsing errors recorded. |
failureCount | Detail-page failures recorded. |
diagnosticCount | Operational issues recorded; no diagnostic rows are written. |
scrapedAt | Time extraction finished, in ISO UTC. |
| Status | Data status | Meaning |
|---|---|---|
SUCCEEDED | COMPLETE | The requested discussions were saved without an extraction problem. |
SUCCEEDED | PARTIAL | Some discussions were saved, but a later detail page failed. |
SUCCEEDED | NO_RESULTS | Listings completed cleanly and returned no discussions. |
FAILED | FAILED | A fatal error occurred before any usable row was saved. |
Example OUTPUT_SUMMARY from the 2026-10-25 run:
{"actorName": "github-discussions-scraper","status": "SUCCEEDED","runStatus": "SUCCEEDED","dataStatus": "COMPLETE","dataAvailable": true,"repositories": ["community/community"],"query": "sort:date_created_desc","maxDiscussionsPerRepository": 5,"maxPagesPerRepository": 2,"includeReplies": true,"maxReplies": 20,"listPagesFetched": 1,"discussionsDiscovered": 25,"detailPagesFetched": 5,"recordsStored": 5,"recordCount": 5,"duplicatesSkipped": 0,"sourceBlocked": false,"errorCount": 0,"failureCount": 0,"diagnosticCount": 0,"scrapedAt": "2026-10-25T20:45:45.122Z"}
Coverage and limitations
The Actor reads public discussion pages anonymously. It does not log in, read private repositories, call undocumented APIs, or recover content that GitHub does not render for anonymous visitors. Discussions can be organization-scoped rather than repository-scoped; the public URL is preserved in discussionUrl and the scope is recorded in repository.
Replies are parsed from the detail page and may be truncated by maxReplies; replyCount still records how many were observed. Reaction summaries repeat names when GitHub renders multiple reaction groups, so reactionCount is a sum of parsed counts rather than a unique-user total. A detail-page failure is recorded in the summary and never creates a fabricated row.
Usage and support
Cost depends on Apify compute, the number of repositories, listing pages, and detail pages. Start with one repository and small maxPagesPerRepository and maxDiscussionsPerRepository values. See the Actor's Pricing tab for current rates.
Use the Actor Issues page to report a problem. Include the run ID, the input used, and the OUTPUT_SUMMARY; do not include tokens, cookies, or private data. This Actor is not affiliated with GitHub. Use it only for public data and in accordance with GitHub's terms and applicable law. Discussions can contain personal information; handle it lawfully.