{"id":15043966,"url":"https://github.com/lucasfaudman/souper-scraper","last_synced_at":"2025-10-23T15:30:31.060Z","repository":{"id":231385586,"uuid":"774068992","full_name":"LucasFaudman/souper-scraper","owner":"LucasFaudman","description":"A simple web scraper base that combines BeautifulSoup and Selenium to scrape dynamic websites.","archived":false,"fork":false,"pushed_at":"2024-06-26T01:07:32.000Z","size":59,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T19:11:19.239Z","etag":null,"topics":["beautifulsoup4","selenium","web-sc"],"latest_commit_sha":null,"homepage":"","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/LucasFaudman.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":"2024-03-18T22:20:01.000Z","updated_at":"2024-07-23T18:00:50.000Z","dependencies_parsed_at":"2024-04-19T00:33:16.345Z","dependency_job_id":"90e20535-dafa-4995-8290-6bb5a8cad67a","html_url":"https://github.com/LucasFaudman/souper-scraper","commit_stats":null,"previous_names":["lucasfaudman/souper-scraper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasFaudman%2Fsouper-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasFaudman%2Fsouper-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasFaudman%2Fsouper-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasFaudman%2Fsouper-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucasFaudman","download_url":"https://codeload.github.com/LucasFaudman/souper-scraper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237843850,"owners_count":19375215,"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":["beautifulsoup4","selenium","web-sc"],"created_at":"2024-09-24T20:49:53.351Z","updated_at":"2025-10-23T15:30:30.686Z","avatar_url":"https://github.com/LucasFaudman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SouperScraper\n\n\u003e A simple web scraper base that combines BeautifulSoup and Selenium to scrape dynamic websites.\n\n\n## Setup\n1. Install with pip\n```bash\npip install souperscraper\n```\n\n2. Download the appropriate [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/downloads) for your Chrome version using [getchromedriver.py](https://github.com/LucasFaudman/souper-scraper/blob/main/src/souperscraper/getchromedriver.py) (command below) or manually from the [ChromeDriver website](https://sites.google.com/a/chromium.org/chromedriver/downloads).\n\u003e To find your Chrome version, go to [`chrome://settings/help`](chrome://settings/help) in your browser.\n```bash\ngetchromedriver\n```\n\n3. Create a new SouperScaper object using the path to your ChromeDriver\n```python\nfrom souperscraper import SouperScraper\n\nscraper = SouperScraper('/path/to/your/chromedriver')\n```\n\n4. Start scraping using BeautifulSoup and/or Selenium methods\n```python\nscraper.goto('https://github.com/LucasFaudman')\n\n# Use BeautifulSoup to search for and extract content\n# by accessing the scraper's 'soup' attribute\n# or with the 'soup_find' / 'soup_find_all' methods\nrepos = scraper.soup.find_all('span', class_='repo')\nfor repo in repos:\n    repo_name = repo.text\n    print(repo_name)\n\n# Use Selenium to interact with the page such as clicking buttons\n# or filling out forms by accessing the scraper's\n# find_element_by_* / find_elements_by_* / wait_for_* methods\nrepos_tab = scraper.find_element_by_css_selector(\"a[data-tab-item='repositories']\")\nrepos_tab.click()\n\nsearch_input = scraper.wait_for_visibility_of_element_located_by_id('your-repos-filter')\nsearch_input.send_keys('souper-scraper')\nsearch_input.submit()\n```\n\n## BeautifulSoup Reference\n- [Quick Start](https://beautiful-soup-4.readthedocs.io/en/latest/#quick-start)\n- [Types of Objects](https://beautiful-soup-4.readthedocs.io/en/latest/#kinds-of-objects)\n- [The BeautifulSoup object](https://beautiful-soup-4.readthedocs.io/en/latest/#beautifulsoup)\n- [Navigating the HTML tree](https://beautiful-soup-4.readthedocs.io/en/latest/#navigating-the-tree)\n- [Searching for HTML Elements](https://beautiful-soup-4.readthedocs.io/en/latest/#searching-the-tree)\n- [Modifying the tree](https://beautiful-soup-4.readthedocs.io/en/latest/#modifying-the-tree)\n\n## Selenium Reference\n- [Quick Start](https://selenium-python.readthedocs.io/getting-started.html)\n- [Navigating the Web](https://selenium-python.readthedocs.io/getting-started.html#)\n- [Locating HTML Elements](https://selenium-python.readthedocs.io/locating-elements.html)\n- [Interacting with HTML elements on the page](https://selenium-python.readthedocs.io/navigating.html#interacting-with-the-page)\n- [Filling in Forms](https://selenium-python.readthedocs.io/navigating.html#filling-in-forms)\n- [Waiting (for page to load, element to be visible, etc)](https://selenium-python.readthedocs.io/waits.html)\n- [Full Webdriver API Reference](https://selenium-python.readthedocs.io/api.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasfaudman%2Fsouper-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasfaudman%2Fsouper-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasfaudman%2Fsouper-scraper/lists"}