Code Monkey home page Code Monkey logo

buff2steam's Introduction

buff2steam's People

Contributors

hldh214 avatar volodymyrzuyev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

buff2steam's Issues

Auto-cancel

Hello. You know how i can cancels orders when i can ask item only from BUFF APP(not the seller send me)? I tried this
cancel_data = { "bill_order_id": i['id'], "game": "csgo" } cancel_order = s.post("https://buff.163.com/api/market/bill_order/deliver/cancel", json=cancel_data, headers={"Referer":"https://buff.163.com/market/buy_order/history?game=csgo&state=trading","X-CSRFToken": s.cookies.get_dict()['csrf_token']})
But response is:
{'code': 'BillOrder Invalid', 'error': 'The order is abnormal, please contact support', 'extra': None}
But i know that is possible
this code also work in ussually cancel order

I am fresh๏ผŒI have somequsetions

"main": {
"debug": true,
"game": "dota2",
"game_appid": "570",
"accept_buff_threshold": 0.65,
"accept_steam_threshold": 0.8,
"min_volume": 0,
"min_price": 30,
"max_price": 30000,
"webgui_refresh_time": 1
},
"buff": {
"username": "",
"password": "",
"sort_by": "sell_num.desc",
"request_interval": 4,
"requests_kwargs": {
"headers": {
"cookie": "session=1-d_z0C6Vv2QjNirvGLWH7D4mLUaq7Pt8lb6EiJ9ngOc6g2028028390; HttpOnly; Path=/",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36",
"Referer": "https://buff.163.com/market/dota2",
"X-Requested-With": "XMLHttpRequest"
}
}
},
"steam": {
"username": "",
"password": "",
"steam_id": "",
"request_interval": 4,
"requests_kwargs": {
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"
}
}
},
"api": {
"key": ""
},
"logging": {
"level": "INFO",
"file": "buff2steam.log"
},
"domain": {
"name": "wjbzd"
}
}what code is right๏ผŸI need to fix it. and I cant found the 'buff2steam' file

traceback

Screenshot_9
Have that traceback every 3-5 results

GUI

Good afternoon
Can you tell me why nothing is displayed in the interface?
image

What usage has this program

Hello, I know this question is really dumb and also doesn't really belong under "Issues". The thing is I still don't know what usage this program has... is it an auto-buying script for buff or steam? Does it automatically buy items? You definitely should clarify the usage of your program. "make money with buff.163.com" isn't that good in my opinion.

CSRF verification failed in Buff auto-buy module

Hi, I ran your code, debug and check the process of auto-buy items on buff. Requests return the text says: CSRF verification failed. After I appended headers with csrf-token, it works out.
Finding out your code without any header information including csrf-token and other misc, I wonder how your code manages to buy correctly, If it is for the sake of the security to remove headers and cookie in your config file, or there are any workarounds to deal with this post in a simple way?
I am a freshman in spider and WEB technology, so I appreciate your reply in advance! ๐Ÿ˜Š

Taking too much time

As you are using python and just sending 2 request and still it's taking too much time. If I used js then we can get a better speed ? Is it possible to get inspect link of listed item on steam market to get float values?

Need Help

I don't know anything about python and need installation help...

need help

can u help me?

I do not understand how I can solve this
image

Error and suggest

Keep getting this error after a while. Can you add an option to resume at a selected page to avoid wasting time running from the beginning?

Traceback (most recent call last):
File "buff2steam_main_.py", line 85, in
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 649, in run_until_complete
File "buff2steam_main_.py", line 79, in main
File "buff2steam_main_.py", line 14, in main_loop
File "buff2steam\provider\buff.py", line 68, in get_items
File "buff2steam\provider\buff.py", line 55, in request
buff2steam.exceptions.BuffError: {'error': '่ฎฟ้—ฎ้ข‘็Ž‡่ฟ‡้ซ˜, ่ฏท็จๅŽ้‡่ฏ•โ€ฆโ€ฆ', 'code': 'System Error'}
[14428] Failed to execute script 'main' due to unhandled exception!

And can you add a feature like sort by quantity, to compare the high quantity item first?
image

Steam Api Limit

Due to recent changes to the steam api limitations, you are able to look up 1-2 items before your hit the request limit.
You seem to be using /market/listings/{game_appid}/{market_hash_name} in order to get the price of the items, which in my experience has a really small request limit, while https://steamcommunity.com/market/priceoverview/?currency={currency}&appid={app_ip}&market_hash_name={name} has a much larger request limit. Info gathered from here https://github.com/Revadike/InternalSteamWebAPI

I am not good enough with python to modify someone else's code yet, but I'm pretty sure the bot would work a lot better if you change the API end point.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.