Jump to content

so i have some code for a game i am playing, now i use this code to obtain price values from there exchange they have (like an auction house of sort), now the price values are on thier website, but everytime i run the code i get an error saying "Syntax error: Unexpected token: < (line 169).

 

disclaimer - this is not my code but is open source.

 

now the link to the paste bin of the code and the script which goes with it are linked can anyone decipher why this will not run in my google sheet when i enter into my cell

=getLastValue(onyx) 

 

Thanks soo much if u can solve this 
 

Main code : http://pastebin.com/mAaD0S0P

Script : http://pastebin.com/raw/a2ySbhD7

Current Build : 

 
CASE: Fractal Design R4 w/Window CPU: Intel 4930K,  RAM: 16GB Ripjaws Z 2133Mhz  Cooling: H100i  MotherBoard: Asus P9x79 Pro , PSU: CS750M   Storage: 2x Samsung 840 Pro 256Gb , 1Tb Seagate Barracuda, 500GB WD Black,  Graphics: Gigabyte GTX 780 Windforce 3GB,  Monitors: AOC G2460PG ( G sync monitor), Edge10 24" 1080p , 24" 1680*1020p monitor ( LCD)  Microphone: Blue Yeti  Keyboard: Cougar 700k  Phone: Samsung Note 3  Headphones: Sennheiser HD598

Laptop:

 CPU: 
4710MQ  Ram: 8GB 1600MHz Storage:120Gb 840 Evo + 1Tb 5400Rpm HDD  Graphics: GTX 850M 2GB   Screen: 1080p IPS  
Link to comment
https://linustechtips.com/topic/561958-javascript-for-gaining-data-from-website/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×