Maxx53 / SCMBot

Steam Community Market auto-buying bot
http://scmbot.com
GNU General Public License v2.0
237 stars 116 forks source link

Market Update: JSON invalid #227

Open l4m0r opened 10 years ago

l4m0r commented 10 years ago

Newly listed is not working anymore after last night.

Please take a look Maxx.

Wamb11t commented 9 years ago

The anti-cache solution is the problem. But when you disable it you only get 1 update every 300 seconds (the remainder will be cached / old data). Using different hosts doesn't work. Using different IPs doesn't work. Using a different language does work, but that still only allows you to make 300 / 26 = 1 request every 11~12 seconds (which is useless). I suspect using a different currency will work as well, but thats probably gonna be a bitch when you actually want to purchase something, since you'd have to convert prices back to your main currency first.

I haven't found a solution yet and I'm about to go to bed so GL Maxx, there's a nice challenge waiting for you here.

doninternet commented 9 years ago

HTTP/1.0 200 OK => Server => Apache Cache-Control => public,max-age=300 Expires => Tue, 11 Nov 2014 12:01:11 GMT Last-Modified => Tue, 11 Nov 2014 11:55:00 GMT Content-Type => application/json; charset=utf-8 X-Varnish => 2423921111 2423701218 Date => Tue, 11 Nov 2014 11:56:46 GMT Connection => close

they change the cache from 2 sec to 300 sec GG

tgogreat commented 9 years ago

at least we still have the usual page search >_< lol, if newly listed is not working for everyone, but i guess / hope this is a temporary security measure, it could catch some botters who keep sending requests despite it not updating. Manually using other connections (diff 4g/3g/wifi) as stated above results in the same newly listed page for a long time, so it's not really a bot issue i think

Maxx53 commented 9 years ago

I'll check it soon.

UgaBugaBoo commented 9 years ago

They just had to update the market just before te big update on CSGO -_- PUCK U VOLVO

l4m0r commented 9 years ago

@Maxx53: U just need remove old cache fix to make it work again. They block any other parameter now, like the random data you added.

Wamb11t commented 9 years ago

Also note that the cache period has been decreased to 3 seconds, rather than 300

linuxuserpro commented 9 years ago

the cache is now server sided. gg

kajo6 commented 9 years ago

so what can we do?

kitzik commented 9 years ago

json cache is always server sided

kajo6 commented 9 years ago

where you check the server sided cache? i dont find where is the max-age 300 cache