{"id":27351880,"url":"https://github.com/elladang/shopeefood_web_scraping","last_synced_at":"2026-05-09T07:06:11.011Z","repository":{"id":287517916,"uuid":"964989643","full_name":"elladang/Shopeefood_Web_Scraping","owner":"elladang","description":"Scrape restaurant and food-related information from ShopeeFood Vietnam","archived":false,"fork":false,"pushed_at":"2025-04-12T07:31:20.000Z","size":662,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T20:54:00.301Z","etag":null,"topics":["pandas","python3","selenium","selenium-webdriver"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/elladang.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-04-12T07:00:55.000Z","updated_at":"2025-04-12T07:32:40.000Z","dependencies_parsed_at":"2025-04-12T08:25:50.557Z","dependency_job_id":"deaa8ac1-488f-4403-8885-a8cb8b7ee017","html_url":"https://github.com/elladang/Shopeefood_Web_Scraping","commit_stats":null,"previous_names":["elladang/shopeefood_web_scraping"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elladang%2FShopeefood_Web_Scraping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elladang%2FShopeefood_Web_Scraping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elladang%2FShopeefood_Web_Scraping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elladang%2FShopeefood_Web_Scraping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elladang","download_url":"https://codeload.github.com/elladang/Shopeefood_Web_Scraping/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631719,"owners_count":21136560,"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":["pandas","python3","selenium","selenium-webdriver"],"created_at":"2025-04-12T20:54:02.569Z","updated_at":"2026-05-09T07:06:05.979Z","avatar_url":"https://github.com/elladang.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🍜 ShopeeFood Web Scraping\n\n**ShopeeFood_Web_Scraping** is a Python project designed to scrape restaurant and food-related information from [ShopeeFood Vietnam](https://shopeefood.vn/). The goal is to automate data collection for purposes such as food trend analysis, pricing research, and restaurant performance tracking.\n\n\n\n## 🎯 Project Objectives\n\nThis project focuses on collecting and organizing data from ShopeeFood with the following key outputs:\n\n- **Restaurant Metadata**\n    - Name, address, categories, coordinates, and delivery info\n- **Menu Information**\n    - Dishes, prices, descriptions, availability\n- **Ratings and Reviews**\n    - Average rating, number of reviewers, tags (e.g., \"tasty\", \"fast delivery\")\n\n\n\n## 🛠️ Technologies Used\n\n- **Python 3.x** – core programming language\n- **Requests** – for sending HTTP requests\n- **Selenium**\n- **Pandas** – for processing and exporting structured data\n- **JSON / CSV** – for storing results\n- **Time / Random** – for delay logic to avoid getting blocked\n\n\n## 📦 Project Structure\n\n```\nSHOPEEFOOD_WEB_SCRAPING/  \n├── .gitattributes  \n├── links_shopee.txt  \n├── README.md  \n├── restaurant_shopefood.csv  \n└── shopeefood_webscraping.ipynb  \n```\n\n\n## Output Data\n\n**Format**: CSV\n\n**Example CSV Output**:\n\n![image.png](image.png)\n\n## 🔍 How the Code Works\n\n### Step 1: Get Restaurant Links\n\n- The `get_links.py` script sends requests to category/location-based ShopeeFood URLs.\n- Parses pagination pages to gather all restaurant page URLs.\n\n### Step 2: Extract Restaurant Details\n\n- The `get_restaurant_info.py` script loops through restaurant URLs.\n- Extracts key fields like name, location, menu, prices, ratings, etc.\n- Cleans and structures the data for export.\n\n### Step 3: Save Data\n\n- Data is stored in both `.json` (raw) and `.csv` (tabular) formats.\n- Files are saved into the `/output` directory for later use or analysis.\n\n\n## 📊 Potential Applications\n\n- Market research on food delivery platforms\n- Menu and pricing trend analysis\n- Clustering restaurants by cuisine, rating, or delivery zones\n- Building dashboards for F\u0026B performance by city or district\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felladang%2Fshopeefood_web_scraping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felladang%2Fshopeefood_web_scraping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felladang%2Fshopeefood_web_scraping/lists"}