2023-04-17 14:14:20 +02:00
2021-10-23 17:27:46 +02:00
2022-08-08 10:08:19 +02:00
2021-02-23 20:16:37 +01:00
2022-02-07 14:49:34 +00:00
2022-08-08 10:09:25 +02:00
2022-02-07 14:49:34 +00:00
2022-02-07 14:49:34 +00:00
2022-06-29 22:32:15 +02:00
2023-04-14 08:10:57 +02:00

Wallamonitor

Periodically checks Wallapop for new articles based on specified parameters and notify through Telegram channel.

Setup 🔧

pip3 install -U python-dotenv
pip3 install python-telegram-bot 

You will also need to change .env parameters:

TELEGRAM_CHANNEL_ID=@Your_Telegram_Channel_ID
TELEGRAM_TOKEN=Your Telegram Token

Usage

  1. Create a args.json file and fill it with following parameters (JSON):
[
  {
    "product_name": "name", # Find products containing name
    "distance": "0", # Distance search range (Meters). Use 0 for no limits
    "latitude": "", # Latitude origin for distance search
    "longitude": "", # Longitude origin for distance search
    "condition": "all", # Can be: all, new, as_good_as_new, good, fair, has_given_it_all
    "min_price": "40", # Minimum price
    "max_price": "80", # Maximum price
	  "title_keyword_exclude" : ["word1", "word2"], # Exclude an item if it contains one of this words
	  "exclude": ["word1", "word2"] # Exclude an item if title or description contains one of this words
  },
  
  ...
]

Check the file args.json of this repo for an example.

  1. Run:
$ python3 alert.py
Description
No description provided
Readme 2 MiB
Languages
Vue 43.1%
JavaScript 30.7%
Python 18.7%
Astro 5.6%
CSS 0.9%
Other 1%