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
Release history Release notifications | RSS feed
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easyebay-0.1.1.tar.gz.
File metadata
- Download URL: easyebay-0.1.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.9 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8f6cfe32a08ad3d7530add7a7749792e9a627d846ed5c684224d61a068ede5a
|
|
| MD5 |
90078e43bc172043eb53da121ae32aa9
|
|
| BLAKE2b-256 |
2a448b223703d31496b6b600535e12e6d1737ad46b6f171b86c6095b147c7935
|
File details
Details for the file easyebay-0.1.1-py3-none-any.whl.
File metadata
- Download URL: easyebay-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.9 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef25f8a57eef522774fb490348d0f4209c9a4ea63d42501e585bfcbaa7729542
|
|
| MD5 |
620aa6d80de44cc0152835875d914ebd
|
|
| BLAKE2b-256 |
b6fbdd9f2b0fb3b1b9ffee758d2d2dab0eb88d8aa6c5849a0804f8b5faf858b5
|