Use python to scrap for listings on olx.in based on search query.
Project description
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.
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
olx_web_scraper-0.2.2.tar.gz
(4.5 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 olx_web_scraper-0.2.2.tar.gz.
File metadata
- Download URL: olx_web_scraper-0.2.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.8.10 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
793851755d966fe87dfa8a97a82eb7512824aa73fdfc51a0a9597d12a17a2a2a
|
|
| MD5 |
43848afc0de75de571f7fbbede81be8d
|
|
| BLAKE2b-256 |
9a629f939a5af8e0143a510d4de1bdfcadc653e31456b9353551e5f3fccea181
|
File details
Details for the file olx_web_scraper-0.2.2-py3-none-any.whl.
File metadata
- Download URL: olx_web_scraper-0.2.2-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.8.10 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
319a72e492b252b077ebfe9e3f869f5ffba56b4aeb0f43f6229126b2e3af9527
|
|
| MD5 |
6f6dc2f1096270125737dce976cd3f9b
|
|
| BLAKE2b-256 |
d170df8dc33fbdc63920bb75b22cd03ba926211c0ae7caded35d1bbeadbffb2d
|