{"repo":"alexis-brosseau/Ebay-Scraper","free":true,"listed":false,"github":"https://github.com/alexis-brosseau/Ebay-Scraper","clone":"git clone https://github.com/alexis-brosseau/Ebay-Scraper.git","description":"Get the average price of a product on eBay or a list of products on sale.","language":"Python","stars":27,"topics":["ebay-scraper","scraper","scraping","scraping-python","scraping-websites","web-scraping","python","ebay"],"license":null,"category":"scrapers-browser-automation","readme_excerpt":"⚠ Read before using ⚠ This script is no longer maintained due to UI changes between countries. But! You can still use this script by replacing the CSS class names that functions need depending on your country. --- Ebay Scraper This script has 2 main functions: 1. Get the average price of a product based on already sold ones. 2. Get a list of products on sale. Requirements: ## - BeautifulSoup4 How to Use: ## 1. Install the requirements. 2. Add EbayScraper.py to your project directory. 3. Import it. --- Average Function: Here we search for the average price at which new Nintendo Switch are sold on eBay Canada. The first parameter is for the search query , the second one is for the country and the third one is for the condition of the item. Output: The output will be a dictionary with the average sold price, the average shipping price and the average total price of the item searched. Here we can see that the average price for a brand new Nintendo Switch on eBay, including the shipping, is 365.87 CAD . --- Items Function: Like the Average Function , the first parameter is for the search query , the second one is for the country and the third one is for the condition of the item, but the funciton also take a fourth parameter as the listing type . The difference here is that this function return a list of dictionary with data about each item. Since the list returned is sorted by price + shipping, here we get the cheapest auction for an RTX 3060 in Canada. Output: The output will be","default_branch":null,"files":null,"tree":[],"storefront":"/r/alexis-brosseau","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alexis-brosseau/Ebay-Scraper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}