A simple OLX scraper module
Project description
Description
'olxapi' Is a python module designed to scrape with OLX website. It enable user programmatically search for products and retrieve a sorted list by ID, Title, Price, Thumbnail and Link of the ads."
instalation
pip install olxapi
Features
-Search for products on OLX. -Retrieve a list of ads with details like thumbnail, title, price, and permalink. -Limit the number of pages to scrape.
How to Use
from olxapi import OlxApi
product = "Macbook pro"
page_limit = 2
olx = OlxApi(page_limit)
ads = olx.get_list_product(product)
print(ads)
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
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 olxApi-0.2.1.tar.gz.
File metadata
- Download URL: olxApi-0.2.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
294f508715c899f09f6c7a896cdbec74c69caade832add9a0eb4042ce2e0a758
|
|
| MD5 |
c5a003efb11190f34cc9ab50f54f423b
|
|
| BLAKE2b-256 |
67656081116335ce1fb9f09879efbaba212c00dffc8dc2cd59053895a8111fa1
|
File details
Details for the file olxApi-0.2.1-py3-none-any.whl.
File metadata
- Download URL: olxApi-0.2.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3f60e6bb74e46e14d7d66efa7ab63d0642b229d77460a90bf09483c6447c4bd
|
|
| MD5 |
f9a3fb4d4d3790258e89d19a685af50a
|
|
| BLAKE2b-256 |
3f864b00707e611c58eac71481b89ba7269f9b3f55945ee061b83a0ce3af03f2
|