{"id":26167438,"url":"https://github.com/cu-sanjay/cricket-score-scraper","last_synced_at":"2026-05-01T23:39:14.049Z","repository":{"id":281310035,"uuid":"936602656","full_name":"cu-sanjay/cricket-score-scraper","owner":"cu-sanjay","description":"A Python-based web scraper that extracts live and past match data from the Women's Premier League (WPL) website using Selenium, BeautifulSoup, and GitHub Actions.","archived":false,"fork":false,"pushed_at":"2025-03-08T08:19:28.000Z","size":238,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T08:23:48.224Z","etag":null,"topics":["beautifulsoup","cricket-score","github-actions","selenium","sports-data","web-scraping"],"latest_commit_sha":null,"homepage":"https://www.wplt20.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cu-sanjay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-02-21T11:17:15.000Z","updated_at":"2025-03-08T08:19:31.000Z","dependencies_parsed_at":"2025-03-08T08:24:04.838Z","dependency_job_id":null,"html_url":"https://github.com/cu-sanjay/cricket-score-scraper","commit_stats":null,"previous_names":["cu-sanjay/cricket-score-scraper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cu-sanjay%2Fcricket-score-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cu-sanjay%2Fcricket-score-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cu-sanjay%2Fcricket-score-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cu-sanjay%2Fcricket-score-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cu-sanjay","download_url":"https://codeload.github.com/cu-sanjay/cricket-score-scraper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243079775,"owners_count":20233054,"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":["beautifulsoup","cricket-score","github-actions","selenium","sports-data","web-scraping"],"created_at":"2025-03-11T17:36:33.577Z","updated_at":"2026-05-01T23:39:14.016Z","avatar_url":"https://github.com/cu-sanjay.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Live Cricket Score Scraper**  \n\nA **Python-based web scraper** that fetches **live and past match data** from the **[Women's Premier League (WPL)](https://www.wplt20.com/) website** using **Selenium, BeautifulSoup, and GitHub Actions**. The script runs automatically every **Hour** and updates a JSON file with match details.  \n\u003e [!IMPORTANT]\n\u003e This project is for **educational purposes only**. It does not store, redistribute, or claim ownership over any third-party data. Users are responsible for complying with website terms of service.  \n\n## **Features**  \n\n1. **Automated Web Scraping** – Uses **Selenium + BeautifulSoup** to extract match details dynamically.  \n2. **GitHub Actions Integration** – Runs automatically on schedule without manual execution.  \n3. **Web Development Ready** – Data is stored in **wpl_data.json**, which can be used in web applications.  \n4. **Bypass Restrictions** – Implements **headless browsing, user-agent rotation**, and **dynamic content handling**.  \n\n## **Usage**  \n\n### **Run Locally**  \n\n1. **Clone the repository**  \n   ```sh\n   git clone https://github.com/cu-sanjay/cricket-score-scraper\n   cd cricket-score-scraper\n   ```\n\n2. **Install dependencies**  \n   ```sh\n   pip install -r requirements.txt\n   ```\n\n3. **Run the script**  \n   ```sh\n   python test.py\n   ```\n\n### **Automated Execution via GitHub Actions**  \n\n- The script is scheduled to run every **1 hour** using **GitHub Actions**.  \n- It fetches live match data and commits changes automatically.  \n- No manual intervention is needed once set up.  \n\n## **Enhancements \u0026 Workarounds**  \n\n1. **Handling Strict Websites**\n2. Rotate **user-agents** to prevent detection.\n3. Use **headless browsing** for minimal footprint.\n4. Simulate **human interactions** (scrolling, waiting, retries).\n5. Extract data from **network requests** instead of the rendered page.  \n\u003e [!TIP]\n\u003e **Web Development Integration**\n\u003e - Serve **wpl_data.json** via **Flask/Django API**.\n\u003e - Fetch and display match data in **React/Next.js frontend**.\n\u003e - Automate updates via **Telegram/Reddit/Discord bot**.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcu-sanjay%2Fcricket-score-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcu-sanjay%2Fcricket-score-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcu-sanjay%2Fcricket-score-scraper/lists"}