diff --git a/scripteditor.js b/scripteditor.js index 4765cd9..c2b3ebf 100644 --- a/scripteditor.js +++ b/scripteditor.js @@ -1,5 +1,6 @@ +var queryString = Math.random(); + function getData() { - var queryString = Math.random(); var ss = SpreadsheetApp.getActiveSpreadsheet(); // @@ -94,7 +95,6 @@ function getRate(currencyId) { } function getWebRate(currencyId) { - //Example Output: // '=IMPORTXML("https://coinmarketcap.com/currencies/zeeyx?3908288283","//span[@id=\'quote_price\']")'; @@ -102,4 +102,4 @@ function getWebRate(currencyId) { var coinScrape2 = '","//span[@id=\'quote_price\']")'; return coinScrape1 + currencyId + '?' + queryString + coinScrape2; -} \ No newline at end of file +}