olx-web-scraper


Nameolx-web-scraper JSON
Version 0.2.2 PyPI version JSON
download
home_page
SummaryUse python to scrap for listings on olx.in based on search query.
upload_time2023-03-14 19:10:29
maintainer
docs_urlNone
authorAkash NP
requires_python>=3.8,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <img align="right" width="150" height="auto" src="https://i.imgur.com/uHdBRp2.png">

# Olx Web Scraper
CLI to Scrape OLX for Ad listing (Optimized for Car/Motocycle ads)

## Table of Contents
  - [Installation](#installation)
  - [Usage](#usage)


## Installation
1. Create a virtual enviroment for the repo & activate it 
```python
python -m venv venv
cd venv
Scripts\activate.bat
```

3. Install the scraper 
```python
pip install olx-web-scraper
```

## Usage
- To get scraping, simple run the following on your prefered terminal:
```python
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.
<!-- ![](https://i.imgur.com/iptsDh1.png) -->
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "olx-web-scraper",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Akash NP",
    "author_email": "akashnp1998@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/9a/62/9f939a5af8e0143a510d4de1bdfcadc653e31456b9353551e5f3fccea181/olx_web_scraper-0.2.2.tar.gz",
    "platform": null,
    "description": "<img align=\"right\" width=\"150\" height=\"auto\" src=\"https://i.imgur.com/uHdBRp2.png\">\n\n# Olx Web Scraper\nCLI to Scrape OLX for Ad listing (Optimized for Car/Motocycle ads)\n\n## Table of Contents\n  - [Installation](#installation)\n  - [Usage](#usage)\n\n\n## Installation\n1. Create a virtual enviroment for the repo & activate it \n```python\npython -m venv venv\ncd venv\nScripts\\activate.bat\n```\n\n3. Install the scraper \n```python\npip install olx-web-scraper\n```\n\n## Usage\n- To get scraping, simple run the following on your prefered terminal:\n```python\nolx_web_scraper <filename without extension>\n```\nEg:\n`python\nolx_web_scraper scraped_data\n`\n\n- Next, input the URL to scrape\n```\nOLX Web Scraper!\nURL: https://www.olx.in/kerala_g2001160/q-interceptor-650\n```\n\n- This will then scrape all the listing available and save to a file named scraped_data.csv in your root folder.\n<!-- ![](https://i.imgur.com/iptsDh1.png) -->",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Use python to scrap for listings on olx.in based on search query.",
    "version": "0.2.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d170df8dc33fbdc63920bb75b22cd03ba926211c0ae7caded35d1bbeadbffb2d",
                "md5": "6f6dc2f1096270125737dce976cd3f9b",
                "sha256": "319a72e492b252b077ebfe9e3f869f5ffba56b4aeb0f43f6229126b2e3af9527"
            },
            "downloads": -1,
            "filename": "olx_web_scraper-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6f6dc2f1096270125737dce976cd3f9b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 6807,
            "upload_time": "2023-03-14T19:10:27",
            "upload_time_iso_8601": "2023-03-14T19:10:27.853437Z",
            "url": "https://files.pythonhosted.org/packages/d1/70/df8dc33fbdc63920bb75b22cd03ba926211c0ae7caded35d1bbeadbffb2d/olx_web_scraper-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9a629f939a5af8e0143a510d4de1bdfcadc653e31456b9353551e5f3fccea181",
                "md5": "43848afc0de75de571f7fbbede81be8d",
                "sha256": "793851755d966fe87dfa8a97a82eb7512824aa73fdfc51a0a9597d12a17a2a2a"
            },
            "downloads": -1,
            "filename": "olx_web_scraper-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "43848afc0de75de571f7fbbede81be8d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 4521,
            "upload_time": "2023-03-14T19:10:29",
            "upload_time_iso_8601": "2023-03-14T19:10:29.100238Z",
            "url": "https://files.pythonhosted.org/packages/9a/62/9f939a5af8e0143a510d4de1bdfcadc653e31456b9353551e5f3fccea181/olx_web_scraper-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-14 19:10:29",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "olx-web-scraper"
}
        
Elapsed time: 0.06692s