Scrapy project to track SuperRare auctions.
Packaging / dependencies is managed with Poetry.
From the project's root:
poetry install
Activate the environment and run Scrapy command:
poetry shell
scrapy crawl [SPIDER]
Or use Poetry run command:
poetry run scrapy crawl [SPIDER]
Build Docker image:
poetry build -f wheel
docker build . --tag suprarewatcher
Run docker container:
docker run [ENV] suprarewatcher:latest scrapy crawl [SPIDER]
Tracker is configured by ENV variables, general configurations:
UPDATE_INTERVAL
: Seconds between each update (default: 180)AUCTION_URL
: URL of the auction on SuperRareDISCORD_WEBHOOK
: Discord webhook url to send messages to with the DiscordBotExtension
Further configuration can be found on the following modules.
This spider will track new bids on the auction.
Configuration:
AUCTION_URL
: URL of the auction on SuperRareBIDS_FILE
: Path to the local file to load / store bids (default:bids.jsonl
)
Example:
export AUCTION_URL="https://superrare.com/artwork-v2/asymmetrical-liberation-29715"
poetry run scrapy crawl BidWatcher
Extension to send bids to a Discord webhook, active by default.
Configuration:
DISCORD_WEBHOOK
: Discord webhook url to send messages to