Open omarmsn opened 2 years ago
I cleaned it a bit and now it probably will work. However you have to install 2 other libraries if you want to extract latest data from steam yourself using "pip install beautifulsoup4" and "pip install requests" on console or ide if your using any. Hope this helps and let me know if you had any issue. Thanks for checking it out!
thanks its working now the one for the existing prices havent installed the libraries yet also I was thinking about writing similar code in the future (i started learning python yesterday) and i have a question; is it possible to scrape prices from csgostash.com? since i find most tradeup helpers like this one has the prices outdated and this will dodge the issue of the steam cooldown for too much request. much thanks for sharing and I'd love to hear your opinion and any tips edit: did you put in mind (and in code) different float caps for each skin?
Without libraries only one of them is going to work as I used library to scrap prices. I believe It is possible to scrap from csgostash, or most of the website for that matter but some sites do their best to make them as hard to scrap as possible, they might even have api to provide u with data? I wouldn't have been able to buy/sell from csgostash and also these was just a practice program, so, I went with steam market. For the logic itself, I considered 5 skins from one collection and 5 skins from another of of same wear(FN, MW etc) to be used, and assumed output would also be of same wear, which is not always the case as many skins don't have full float range, hence, there can be errors. I was hoping to make something to point in right direction at that time. I did not consider float range, just the wear. If you are thinking of making similar project, I highly recommend using pandas library too. good luck!
thanks a lot man, I'll try to learn panda
first of all im not a coder and most likely im missing something I have python installed i just cant run the file as it insta closes and nothing happens to the txt file