Files
pokemon-stock-checker/config.py
T
mmcghen 9d49a99916 Pokemon Stock Monitor - Initial commit
Chrome extension for PokemonCenter monitoring with Discord notifications.
Includes Python scripts for Target monitoring.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 12:39:09 -04:00

56 lines
1.7 KiB
Python

"""
Configuration for Pokemon Stock Monitor
Update DISCORD_WEBHOOK_URL with your actual webhook URL
"""
# Discord webhook URL - GET THIS FROM YOUR DISCORD SERVER
# Server Settings -> Integrations -> Webhooks -> New Webhook -> Copy Webhook URL
DISCORD_WEBHOOK_URL = "YOUR_WEBHOOK_URL_HERE"
# How often to check each site (in seconds)
CHECK_INTERVAL_SECONDS = 60
# Which sites to monitor
# Note: PokemonCenter has strong bot protection (Imperva) - may need manual workarounds
SITES_ENABLED = ["target"] # Options: "pokemoncenter", "target", "walmart", "bestbuy"
# PokemonCenter URLs to monitor
POKEMON_CENTER_URLS = [
"https://www.pokemoncenter.com/category/tcg-cards?sort=relevance",
]
# Target URLs to monitor
TARGET_URLS = [
"https://www.target.com/s?searchTerm=pokemon+tcg",
]
# Keyword filtering (disabled by default)
KEYWORD_FILTER_ENABLED = False
KEYWORDS = [
"chaos rising",
"booster",
"etb",
"elite trainer",
"booster bundle",
]
# Browser settings
HEADLESS = False # Set to False to see the browser (useful for debugging)
SLOW_MO = 0 # Milliseconds to slow down browser actions (for debugging)
# Chrome profile for PokemonCenter (optional - helps bypass bot detection)
# Set to your Chrome user data directory to use your real browser profile
# Windows: C:\Users\USERNAME\AppData\Local\Google\Chrome\User Data
# Linux: ~/.config/google-chrome
# Mac: ~/Library/Application Support/Google/Chrome
# Leave as None to use a fresh browser profile
# Set to None to use a fresh profile, or a path to use an existing profile
# Note: Chrome must be closed when using an existing profile
CHROME_USER_DATA_DIR = None
# Use real Chrome instead of Playwright's Chromium (helps with bot detection)
USE_REAL_CHROME = True
# Logging
LOG_LEVEL = "INFO"