function pullRuneScape() { var epoch = Date.now(); // Generate current epoch time, store to epoch var page = UrlFetchApp.fetch("http://www.runescape.com/player_count.js?varname=iPlayerCount&callback=jQuery17204815206015482545_"+epoch).getContentText(); // Fetch link+epoch var number = page.match(/\((\d+)\)/)[1]; // Match a number of any length enclosed in parenthesis on the page we fetched - there are two results, [1] is the one we want SpreadsheetApp.getActive().getSheetByName('RuneScape').appendRow([new Date(), number]); // Put it in a cell }