Skip to content

Instantly share code, notes, and snippets.

@dannypage
Created May 30, 2013 13:13
Show Gist options
  • Save dannypage/5677721 to your computer and use it in GitHub Desktop.
Save dannypage/5677721 to your computer and use it in GitHub Desktop.
Betting
#!/bin/bash
# Retreives and timestamps various XML feeds for later use
cd /Users/danielpage/Documents/BetCharts/
curl http://lines.bookmaker.eu/ > bookmaker-$(date +%Y-%m-%d-%H.%M.%S).xml
curl http://xmlfeed.intertops.com/XMLOddsFeed/IntertopsOdds.aspx > intertops-$(date +%Y-%m-%d-%H.%M.%S).xml
curl http://xml.betclick.com/odds_en.xml > betclick-$(date +%Y-%m-%d-%H.%M.%S).xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment