-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.sample.yaml
More file actions
40 lines (31 loc) · 1.63 KB
/
Copy pathconfig.sample.yaml
File metadata and controls
40 lines (31 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Example configuration for vinted-notifier
# List of Apprise notification targets.
# Use your Discord webhook URL in the form:
# discord://{WebhookID}/{WebhookToken}/?image=No
# or a different Apprise service URL.
apprise_urls:
- "discord://143437782343633543453/k663423423423435235234"
# Default Vinted locale used when a query URL omits a domain instance.
# For example, `it`, `fr`, `com`, etc.
default_instance: "it"
# SQLite database path used to store already-notified item IDs.
# This prevents duplicate notifications across runs.
database: "./data/vinted.db"
# Polling interval in seconds when running in daemon mode.
run_interval: 600
notification:
# Title template for notifications.
title: "Vinted Alert: {query_name} - {title}"
# Body template for notifications.
body: "New item found:\nTitle: {title}\nBrand: {brand}\nPrice: {price}\nLink: ||{url}||\nQuery: {query_name}"
# Enable or disable attaching the item image to the notification.
attach_images: true
# Seconds to wait between notifications to reduce Discord rate limiting.
send_interval: 3.0
queries:
- name: "Valve Steam Deck"
url: "https://www.vinted.it/catalog?search_text=steam%20deck&brand_ids%5B%5D=562573&price_from=200&price_to=400¤cy=EUR&order=price_low_to_high"
instance: "it"
- name: "Rog Ally"
url: "https://www.vinted.it/catalog?catalog%5B%5D=3025&search_start_type=item_page_video_game_platform&video_game_platform_ids%5B%5D=1259&search_id=33407146939&search_text=asus%20rog%20ally&search_by_image_uuid=&search_by_image_id=&page=1&time=1777036373&brand_ids%5B%5D=205418&price_from=200¤cy=EUR&price_to=390"
instance: "it"