{
    "version": "ujb.site-guide/v1",
    "site": "GitHub",
    "domain": "github.com",
    "category": "dev",
    "status": "working",
    "status_label": "Working",
    "success_rate_7d": 100,
    "checks_7d": 28,
    "last_checked_at": "2026-11-15T22:36:21Z",
    "last_ok_at": "2026-11-15T22:36:21Z",
    "page_types": [
        {
            "page_type": "Public pages",
            "page_kinds": [
                "page"
            ],
            "status": "working",
            "success_rate_7d": 100,
            "checks_7d": 28,
            "endpoint": "/scrape",
            "params": {
                "js": true
            },
            "proxy": "default",
            "measured": true,
            "max_credits": 5,
            "learned_settings": null,
            "example_url": "https://github.com/torvalds/linux",
            "playground": "https://ujeebu.com/playground?endpoint=scrape&url=https%3A%2F%2F2.zoppoz.workers.dev%3A443%2Fhttps%2Fgithub.com%2Ftorvalds%2Flinux&js=true&autosend=0&uj_from=site-guide",
            "recipes": [
                {
                    "page_kind": "listing",
                    "label": "Search and listing pages",
                    "recipe": "github/listing",
                    "call": "GET https://api.ujeebu.com/scrape?url=https%3A%2F%2F2.zoppoz.workers.dev%3A443%2Fhttps%2Fgithub.com%2Fsearch%3Fq%3Dweb%2Bscraper%26type%3Drepositories&recipe=github%2Flisting",
                    "credits": 5,
                    "validated_at": "2026-11-11T18:51:20Z",
                    "params": {
                        "js": true
                    },
                    "extract_rules": {
                        "repositories": {
                            "type": "fn",
                            "fn": "const s = [...document.querySelectorAll('script[data-target=\"react-app.embeddedData\"]')].map(e => { try { return JSON.parse(e.textContent); } catch (x) { return null; } }).find(j => j && j.payload && j.payload.blackbirdSearchRoute); if (!s) return null; const strip = v => v == null ? null : String(v).replace(/<[^>]+>/g, ''); return (s.payload.blackbirdSearchRoute.results || []).filter(r => r.hl_name).map(r => ({ name: strip(r.hl_name), url: 'https://github.com/' + strip(r.hl_name), description: strip(r.hl_trunc_description), language: r.language || null, stars: r.followers != null ? r.followers : null, topics: (r.topics || []).join(', ') || null, updated: r.repo && r.repo.repository ? r.repo.repository.updated_at : null }));"
                        }
                    },
                    "fields": {
                        "repositories": "list of 3+ items",
                        "repositories[].description": "text",
                        "repositories[].language": "text",
                        "repositories[].name": "text",
                        "repositories[].stars": "number",
                        "repositories[].topics": "text",
                        "repositories[].updated": "date",
                        "repositories[].url": "URL"
                    },
                    "validated_on": [
                        "https://github.com/search?q=web+scraper&type=repositories",
                        "https://github.com/search?q=rust+http+client&type=repositories"
                    ],
                    "url_pattern": "https://github.com/search?q={q}&type=repositories",
                    "listing_template": null,
                    "pagination": null,
                    "search": {
                        "recipe": "github/search",
                        "result_recipe": "github/listing",
                        "params": [
                            {
                                "name": "query",
                                "type": "string",
                                "required": true,
                                "description": "Search words or GitHub qualifiers (language:go).",
                                "example": "web scraper",
                                "transform": [
                                    "collapse_spaces"
                                ],
                                "var": "q"
                            },
                            {
                                "name": "sort",
                                "type": "enum",
                                "required": false,
                                "default": "best_match",
                                "enum": [
                                    "best_match",
                                    "stars",
                                    "forks",
                                    "updated"
                                ],
                                "values": {
                                    "best_match": null,
                                    "stars": "stars",
                                    "forks": "forks",
                                    "updated": "updated"
                                },
                                "description": "Sort order: best_match (the default), stars, forks or updated (most first).",
                                "example": "stars",
                                "var": "s"
                            },
                            {
                                "name": "page",
                                "type": "int",
                                "required": false,
                                "default": 1,
                                "min": 1,
                                "max": 5,
                                "description": "Result page, 1 is the first page (10 repositories a page).",
                                "example": 2,
                                "var": "p"
                            }
                        ],
                        "url_template": "https://github.com/search?type=repositories{&q,s,p}",
                        "pagination": {
                            "param": "page",
                            "var": "p",
                            "start": 1,
                            "max": 5,
                            "how": "query",
                            "first": "omit"
                        },
                        "example": {
                            "params": {
                                "query": "web scraper"
                            },
                            "url": "https://github.com/search?type=repositories&q=web%20scraper"
                        },
                        "call": "GET https://api.ujeebu.com/scrape?recipe=github/search&query=web%20scraper",
                        "today_call": "GET https://api.ujeebu.com/scrape?url=https%3A%2F%2F2.zoppoz.workers.dev%3A443%2Fhttps%2Fgithub.com%2Fsearch%3Ftype%3Drepositories%26q%3Dweb%2520scraper&recipe=github%2Flisting",
                        "checked_at": "2026-11-04 09:44:05"
                    }
                },
                {
                    "page_kind": "page",
                    "label": "Public pages",
                    "recipe": "github/page",
                    "call": "GET https://api.ujeebu.com/scrape?url=https%3A%2F%2F2.zoppoz.workers.dev%3A443%2Fhttps%2Fgithub.com%2Ftorvalds%2Flinux&recipe=github%2Fpage",
                    "credits": 5,
                    "validated_at": "2026-11-12T18:51:00Z",
                    "params": {
                        "js": true
                    },
                    "extract_rules": {
                        "title": {
                            "selector": "meta[property=\"og:title\"]",
                            "type": "attr",
                            "attribute": "content"
                        },
                        "description": {
                            "selector": "meta[property=\"og:description\"]",
                            "type": "attr",
                            "attribute": "content"
                        },
                        "image": {
                            "selector": "meta[property=\"og:image\"]",
                            "type": "attr",
                            "attribute": "content"
                        },
                        "stars": {
                            "selector": ".socialStat__OaJfGy strong",
                            "type": "text"
                        },
                        "forks": {
                            "selector": ".insightStats__Z3jICr a[href*='/forks'] strong",
                            "type": "text"
                        },
                        "url": {
                            "selector": "[data-testid='repo-name-link']",
                            "type": "link"
                        },
                        "updated": {
                            "selector": "[data-testid='latest-commit'] relative-time",
                            "type": "attr",
                            "attribute": "datetime"
                        }
                    },
                    "fields": {
                        "title": "text",
                        "description": "text",
                        "image": "URL",
                        "stars": "text",
                        "forks": "text",
                        "url": "URL",
                        "updated": "date"
                    },
                    "validated_on": [
                        "https://github.com/torvalds/linux",
                        "https://github.com/golang/go"
                    ],
                    "url_pattern": "https://github.com/{slug}/{slug}",
                    "listing_template": null,
                    "pagination": null
                }
            ]
        }
    ],
    "guide_url": "https://ujeebu.com/scrape/github",
    "note": "Ujeebu scrapes any public website. These guides are a selection of popular sites we test every day, with settings that work today; a site that is not listed works with the same API: try any URL in the Playground (https://ujeebu.com/playground) or send us the URL (https://ujeebu.com/contact) and we will check it.",
    "billing": "Only HTTP 200 and 404 responses are billed.",
    "auth": "Header ApiKey: <your key>",
    "api_base": "https://api.ujeebu.com",
    "how_to_use_recipes": "GET https://api.ujeebu.com/scrape?url=<page>&recipe=<recipe>: the API applies the recipe's extract_rules and params (yours win when you send them) and answers {\"result\": {...}} with the headers Ujb-Recipe and Ujb-Credits. A recipe with \"recipe\": null is not served by name: POST /scrape with url, the params and extract_rules. Docs: https://ujeebu.com/docs/apis/scrape/recipes"
}