Skip to main content

Python module searcher for subito.it

Project description

Module version of subito-it-searcher

forked by morrolinux/subito-it-searcher

BeautifulSoup scraper running queries on a popular italian ad website. This module is compatible with Python 3.x versions.

Subitokit module allows you to create queries within the popular italian site subito.it, filter the results and easily manipulate them with pythone code.

Example

from subitokit import *

name = 'Ryzen 5 5600x'
min_price = 100
max_price = 130

query = run_query(name,min_price,max_price)
query.sort() #if key not specified it sort by price

print(query)

#.refresh() is used to reload the query, update it and return extra products (if there are)
new_prods=query.refresh()

print('Refreshed query:')
for prod in query:
    print(prod)

Installation

Install subitokit with pip

pip install subitokit

After that you can use this package in all projects where you might need it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

subitokit-0.1.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

subitokit-0.1.1-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page