View Single Post
Old 02-13-2021, 01:04 AM  
zerovic
Confirmed User
 
zerovic's Avatar
 
Industry Role:
Join Date: Apr 2010
Posts: 1,062
Quote:
Originally Posted by GoCastaway View Post
That script sounds good, no need to check the stats page over and over.

Made it yourself?
Yeah. It's pretty simple actually. It scrapes the Direct URL of the stats every 15 minutes, and checks if there are any changes or new values in the xml. If so, it saves the new sales in the db and sends me an email.

I will rewrite the whole thing in the upcoming days, as it's a mess right now, and post the entire source code if you are interested.

You only need a small database, a hosting account and you have to be able to set up cron jobs.
zerovic is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote