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
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
subitokit-0.1.1.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for subitokit-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 790e55a373508b8b18ed3c55974ddd47d196a7e010a0e35c8e5129aa1a77385d |
|
MD5 | 0824e90572ec6d801da3785668f8294a |
|
BLAKE2b-256 | 794142d10b791eb8018b10471266dc26e5fbd85a51360c680efd803587ca1c2a |