{"id":23357285,"url":"https://github.com/christos99/scraping-project","last_synced_at":"2026-05-10T05:46:20.991Z","repository":{"id":265117559,"uuid":"895178736","full_name":"christos99/scraping-project","owner":"christos99","description":"This project is a Python-based tool for web scraping with a user-friendly GUI. Built with PyQt5 and Selenium, it allows users to scrape online listings by specifying keywords, price ranges, and exclusions. Results are displayed in a table and can be exported to an Excel file.","archived":false,"fork":false,"pushed_at":"2024-11-27T18:23:09.000Z","size":7,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T21:37:20.315Z","etag":null,"topics":["automation","data-analysis","excel","gui","openpyxl","pandas","pyqt5","python","selenium","web-scraping"],"latest_commit_sha":null,"homepage":"","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/christos99.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}},"created_at":"2024-11-27T17:45:37.000Z","updated_at":"2025-01-30T20:59:53.000Z","dependencies_parsed_at":"2024-11-27T19:37:20.943Z","dependency_job_id":null,"html_url":"https://github.com/christos99/scraping-project","commit_stats":null,"previous_names":["christos99/scraping-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christos99%2Fscraping-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christos99%2Fscraping-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christos99%2Fscraping-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christos99%2Fscraping-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christos99","download_url":"https://codeload.github.com/christos99/scraping-project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247721899,"owners_count":20985084,"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":["automation","data-analysis","excel","gui","openpyxl","pandas","pyqt5","python","selenium","web-scraping"],"created_at":"2024-12-21T10:19:59.809Z","updated_at":"2026-05-10T05:46:20.962Z","avatar_url":"https://github.com/christos99.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# **Scraping Project**\n\nThis project is a web scraper built using Python, Selenium, and PyQt5. It features a graphical user interface (GUI) that allows users to scrape data based on user-defined parameters such as keywords, price range, and exclusions, and save the results to an Excel file.\n\n---\n\n## **Features**\n- **Scrape Listings**: Retrieve data such as page numbers, titles, prices, and links from a website.\n- **GUI Interface**: Intuitive PyQt5-based GUI for inputting parameters and viewing results.\n- **Customizable Search**:\n  - Specify keywords to filter listings.\n  - Define a price range.\n  - Exclude unwanted keywords from results.\n- **Progress Tracking**: A progress bar shows the scraping progress in real-time.\n- **Save Results**: Save the scraped data into an Excel file.\n- **Logging**: Includes logging for tracking the scraping process and troubleshooting.\n\n---\n\n## **Requirements**\nMake sure you have the following installed:\n- **Python 3.7+**\n- **pip** (Python package manager)\n- **Google Chrome** (latest version)\n- **ChromeDriver** (compatible with your Chrome version)\n\nPython dependencies:\n- `PyQt5`\n- `Selenium`\n- `pandas`\n- `openpyxl`\n\n---\n\n## **Setup Instructions**\n\n### 1. **Clone the Repository**\n```bash\ngit clone https://github.com/christos99/scraping-project.git\ncd scraping_project\n```\n\n### 2. **Set Up a Virtual Environment**\n```bash\npython3 -m venv venv\nsource venv/bin/activate  # On macOS/Linux\nvenv\\Scripts\\activate     # On Windows\n```\n\n### 3. **Install Dependencies**\n```bash\npip install -r requirements.txt\n```\n\n### 4. **Download ChromeDriver**\n- Download ChromeDriver from [here](https://chromedriver.chromium.org/downloads).\n- Ensure the version matches your installed Google Chrome version.\n- Place the `chromedriver` executable in your system's PATH or in the project folder.\n\n---\n\n## **Usage**\n\n### **Run the GUI**\n1. Start the application:\n   ```bash\n   python gui.py\n   ```\n2. In the GUI:\n   - Enter **keywords** (comma-separated).\n   - Set a **price range**.\n   - Specify an **excluded keyword** (optional).\n   - Choose an **output file path** to save the results.\n   - Click **\"Start Scraping\"** to begin.\n\n3. View the scraping progress in the **status log** and **progress bar**.\n\n4. Once scraping is complete, view the results in the GUI table or in the saved Excel file.\n\n---\n\n## **Project Structure**\n```\nscraping_project/\n│\n├── gui.py             # PyQt5 GUI for the scraper\n├── scraper.py         # Core scraping logic using Selenium\n├── .gitignore         # Files to ignore in Git (e.g., venv, logs)\n├── venv/              # Virtual environment folder (ignored)\n├── pyvenv.cfg         # Virtual environment configuration\n└── README.md          # Project documentation\n```\n\n---\n\n## **Example Workflow**\n1. Set the following parameters:\n   - Keywords: `iPhone, 15, Pro`\n   - Price range: `200` to `2000`\n   - Excluded keyword: `Max`\n\n2. Choose an output file name, e.g., `results.xlsx`.\n\n3. Click **\"Start Scraping\"**.\n\n4. View the progress in the log and check the saved Excel file for results.\n\n---\n\n## **Troubleshooting**\n- **Selenium Errors**: Ensure ChromeDriver matches your Chrome version.\n- **Dependencies Missing**: Reinstall them with:\n  ```bash\n  pip install -r requirements.txt\n  ```\n- **GUI Issues**: Ensure `PyQt5` is installed properly.\n\n---\n\n## **Contributing**\nFeel free to submit issues or pull requests to improve the project.\n\n---\n\n## **License**\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristos99%2Fscraping-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristos99%2Fscraping-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristos99%2Fscraping-project/lists"}