Olx Web Scraper
CLI to Scrape OLX for Ad listing (Optimized for Car/Motocycle ads)
Table of Contents
Installation
- Create a virtual enviroment for the repo & activate it
python -m venv venv
cd venv
Scripts\activate.bat
- Install the scraper
pip install olx-web-scraper
Usage
- To get scraping, simple run the following on your prefered terminal:
olx_web_scraper <filename without extension>
Eg:
python olx_web_scraper scraped_data
- Next, input the URL to scrape
OLX Web Scraper!
URL: https://www.olx.in/kerala_g2001160/q-interceptor-650
- This will then scrape all the listing available and save to a file named scraped_data.csv in your root folder.
Release files for olx-web-scraper 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| olx_web_scraper-0.2.2.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| olx_web_scraper-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.3 kB
Release files / olx_web_scraper-0.2.2.tar.gz
| Download URL | olx_web_scraper-0.2.2.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
793851755d966fe87dfa8a97a82eb7512824aa73fdfc51a0a9597d12a17a2a2a
|
|
BLAKE2b-256 checksum How to use checksums |
9a629f939a5af8e0143a510d4de1bdfcadc653e31456b9353551e5f3fccea181
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.8.10 Windows/10
|
Release files / olx_web_scraper-0.2.2-py3-none-any.whl
| Download URL | olx_web_scraper-0.2.2-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
319a72e492b252b077ebfe9e3f869f5ffba56b4aeb0f43f6229126b2e3af9527
|
|
BLAKE2b-256 checksum How to use checksums |
d170df8dc33fbdc63920bb75b22cd03ba926211c0ae7caded35d1bbeadbffb2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.8.10 Windows/10
|