{"id":29003760,"url":"https://github.com/yaroslavshved25/scraping_motion","last_synced_at":"2026-04-29T06:38:32.643Z","repository":{"id":301104797,"uuid":"1008171645","full_name":"YaroslavShved25/Scraping_Motion","owner":"YaroslavShved25","description":"This project is a Python-based web scraper designed to automatically extract product categories and subcategories from motion.com using Selenium WebDriver and undetected-chromedriver.","archived":false,"fork":false,"pushed_at":"2025-06-25T06:28:31.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-25T07:27:49.870Z","etag":null,"topics":["antibot","auto-navigation","multi-level-category","openpyxl","python-3","python-script","selenium","undetected-chrome"],"latest_commit_sha":null,"homepage":"https://www.motion.com/","language":"Python","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/YaroslavShved25.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-25T06:24:23.000Z","updated_at":"2025-06-25T06:33:48.000Z","dependencies_parsed_at":"2025-06-25T07:28:08.045Z","dependency_job_id":"145a5ff9-3878-401e-9b39-aeb075c82b63","html_url":"https://github.com/YaroslavShved25/Scraping_Motion","commit_stats":null,"previous_names":["yaroslavshved25/scraping_motion"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/YaroslavShved25/Scraping_Motion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YaroslavShved25%2FScraping_Motion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YaroslavShved25%2FScraping_Motion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YaroslavShved25%2FScraping_Motion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YaroslavShved25%2FScraping_Motion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YaroslavShved25","download_url":"https://codeload.github.com/YaroslavShved25/Scraping_Motion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YaroslavShved25%2FScraping_Motion/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261852240,"owners_count":23219637,"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":["antibot","auto-navigation","multi-level-category","openpyxl","python-3","python-script","selenium","undetected-chrome"],"created_at":"2025-06-25T10:29:10.086Z","updated_at":"2026-04-29T06:38:32.606Z","avatar_url":"https://github.com/YaroslavShved25.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 📂 GitHub Project: Motion.com Category Scraper\n\n### 📋 Project Description\n\nThis project is a **Python-based web scraper** designed to automatically extract product categories and subcategories from [motion.com](https://www.motion.com/) using **Selenium WebDriver** and **undetected-chromedriver**.\n\nThe scraper:\n\n* Navigates through all product categories.\n* Loads all subcategories dynamically (even when loaded via AJAX).\n* Stores the collected data into an Excel file with organized sheets for each category.\n\n---\n\n## 🚀 Features\n\n* ✅ Dynamic content loading with Selenium\n* ✅ Multi-level category scraping\n* ✅ Auto-navigation and back-tracking between categories\n* ✅ Data export to Excel using `openpyxl`\n* ✅ Supports anti-bot protected pages via undetected-chromedriver\n\n---\n\n## 🛠 Technologies Used\n\n* Python\n* Selenium\n* undetected-chromedriver\n* openpyxl\n\n---\n\n## 📦 Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/YaroslavShved25/Scraping_Motion.git\n```\n\n2. Install required packages:\n\n```bash\npip install selenium undetected-chromedriver openpyxl\n```\n\n3. Update the `chromedriver` path in:\n\n```python\nservice = Service(executable_path=r'Home/Downloads/chromedriver-mac-x64/chromedriver')\n```\n\nto your local chromedriver path.\n\n---\n\n## ⚙️ Usage\n\nRun the script:\n\n```bash\npython motion_category.py\n```\n\nThe results will be saved as:\n\n```\nmotion.com_sub_categories.xlsx\n```\n\n---\n\n## 📂 File Structure\n\n```\n├── motion_category.py   # Main scraping script\n├── README.md            # Project description\n```\n\n---\n\n## 🔥 Notes\n\n* The scraper uses undetected-chromedriver to bypass basic anti-bot detections.\n* This project is intended for **educational and ethical scraping purposes only.**\n  Always ensure scraping complies with the target website's terms of service.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaroslavshved25%2Fscraping_motion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaroslavshved25%2Fscraping_motion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaroslavshved25%2Fscraping_motion/lists"}