Rosetta Stone Price monitor - broken
The snippet can be accessed without any authentication.
Authored by
Sheogorath
Check for Rosetta Stone Pricing
Either use the shell script or use the systemd timer + service for long term monitoring.
Installing the service works like this:
mkdir -p ~/.config/systemd/user/
curl -o ~/.config/systemd/user/rosetta.timer https://git.shivering-isles.com/-/snippets/34/raw/main/rosetta.timer
curl -o ~/.config/systemd/user/rosetta.service https://git.shivering-isles.com/-/snippets/34/raw/main/rosetta.service
systemctl --user daemon-reload
systemctl --user enable --now rosetta.timer
rosetta.service 458 B
[Unit]
Description=Rosetta Stone Price Alert
[Service]
Type=oneshot
ExecStart=/bin/bash -c 'curl https://de.rosettastone.com/_next/data/96ded8ec50b27dd5d491b689bfcd6cc2a16246b4/bestellen.json\?locale\=bestellen 2>/dev/null | jq -e '.pageProps.pricingPlans.center.promotionPrice != .pageProps.pricingPlans.center.fullPrice' && notify-send "Rosetta Stone deal" "Rosetta Stone has a special offer! https://rosettastone.com"'
[Install]
WantedBy=default.target
rosetta.timer 172 B
rosettastone.sh 354 B
Please register or sign in to comment