Skip to main content

A library for scraping items from eBay

Project description

Easy eBay

A library for scraping items from eBay

To begin with

Here is a sample code

Example 1
import easyebay

result = easyebay.search(keyword="4090",
                         pageNum="1",
                         maxPrice="1000",
                         minPrice="500",
                         conditions=[easyebay.condition.used])

parsed = easyebay.parseSearch(result)

for item in parsed:
    print(item.title, item.price, item.shipping, item.url)

Here's a sample output

YASKAWA CDBR-4090B B... $989.99 None https://www.ebay...
LOT OF 5 Motorola RS... $769.69 None https://www.ebay...
MELLTRONICS 222-4090... $750.00 None https://www.ebay...
...

easyebay.search returns the html, and easyebay.parseSearch returns easyebay.item object. This is the definition of item object

class item():
    title: str
    condition: str
    price: str
    seller: list
    shipping: str
    returns: str
    sold: str
    url: str
    image: str

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easyebay-0.1.1.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

easyebay-0.1.1-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page