2024-02-13 00:02:29 +01:00
2024-02-12 23:59:16 +01:00
2024-02-28 20:33:44 +01:00
2024-02-28 20:33:44 +01:00
2024-02-28 20:33:44 +01:00
2024-02-13 00:10:13 +01:00
2024-02-28 20:33:44 +01:00
2024-02-28 20:33:44 +01:00

Wallamonitor

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

Setup 🔧

pip3 install pyyaml python-telegram-bot 

You will also need to set your Telegram config at config.yaml:

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):
[
  {
    "search_query": "search query", # Find products containing...
    "latitude": "40.4165", # Latitude origin for distance search
    "longitude": "-3.70256", # Longitude origin for distance search
    "max_distance":"0", # Distance search range (in meters). Use 0 for unlimited distance
    "condition": "all", # Can be: all, new, as_good_as_new, good, fair, has_given_it_all
    "min_price": "20", # Minimum price
    "max_price": "80", # Maximum price
    "title_exclude" : [], # Exclude an item if title contains one of this words
    "description_exclude": [], # Exclude an item if description contains one of this words
    "title_must_include" : [], # Exclude an item if title does not contains one of this words
    "description_must_include" : [] # Exclude an item if description does not contains one of this words
  },

  
  ...
]

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

  1. Run:
$ python3 main.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%