{"id":29066924,"url":"https://github.com/oscarmorrison/golfscrape","last_synced_at":"2025-06-27T10:09:15.877Z","repository":{"id":301350464,"uuid":"1008948260","full_name":"oscarmorrison/golfScrape","owner":"oscarmorrison","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-26T11:24:55.000Z","size":4953,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-26T12:28:39.806Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oscarmorrison.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-26T10:41:05.000Z","updated_at":"2025-06-26T11:25:00.000Z","dependencies_parsed_at":"2025-06-26T12:42:18.009Z","dependency_job_id":null,"html_url":"https://github.com/oscarmorrison/golfScrape","commit_stats":null,"previous_names":["oscarmorrison/golfscrape"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oscarmorrison/golfScrape","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarmorrison%2FgolfScrape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarmorrison%2FgolfScrape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarmorrison%2FgolfScrape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarmorrison%2FgolfScrape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oscarmorrison","download_url":"https://codeload.github.com/oscarmorrison/golfScrape/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarmorrison%2FgolfScrape/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262235784,"owners_count":23279567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-27T10:09:12.792Z","updated_at":"2025-06-27T10:09:15.866Z","avatar_url":"https://github.com/oscarmorrison.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Golf Australia Top-100 Courses Scraper\n\nA Node.js web scraper that extracts all golf course information from the Golf Australia Top-100 Courses for 2024 ranking page.\n\n## Features\n\n- Extracts course names, locations, designers, average points, 2022 rankings, and comments\n- Saves data to JSON format for easy analysis\n- Handles dynamic content loading\n- Provides console output with sample results\n\n## Installation\n\n1. Install dependencies:\n```bash\nnpm install\n```\n\n2. Run the scraper:\n```bash\nnpm start\n```\n\n## Output\n\nThe scraper generates a `golf-courses-2024.json` file containing:\n\n- Source information and timestamp\n- Total number of courses found\n- Array of course objects with:\n  - `name`: Course name\n  - `location`: Course location\n  - `designers`: Course designers\n  - `averagePoints`: Average points score\n  - `ranking2022`: 2022 ranking position\n  - `comments`: Array of judge comments\n\n## Sample Output Structure\n\n```json\n{\n  \"source\": \"Golf Australia Top-100 Courses 2024\",\n  \"url\": \"https://www.golfaustralia.com.au/feature/ranking-australias-top-100-courses-for-2024-604333/page0\",\n  \"scrapedAt\": \"2024-01-24T10:30:00.000Z\",\n  \"totalCourses\": 100,\n  \"courses\": [\n    {\n      \"name\": \"ROYAL MELBOURNE GC – WEST COURSE\",\n      \"location\": \"Black Rock, Victoria\",\n      \"designers\": \"Dr Alister MacKenzie (1931); Tom Doak – Renaissance Golf Design (ongoing)\",\n      \"averagePoints\": \"99.909\",\n      \"ranking2022\": \"1\",\n      \"comments\": [\n        \"Royal Melbourne West is still the best course in the land...\",\n        \"The brilliance of the West Course is it demands the highest levels...\"\n      ]\n    }\n  ]\n}\n```\n\n## Requirements\n\n- Node.js (v14 or higher)\n- Internet connection to access the Golf Australia website\n\n## Notes\n\n- The scraper uses Puppeteer to handle JavaScript-rendered content\n- Browser will open in non-headless mode for debugging\n- If the page structure changes, the scraper may need updates","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscarmorrison%2Fgolfscrape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foscarmorrison%2Fgolfscrape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscarmorrison%2Fgolfscrape/lists"}