1fge / open-supreme Goto Github PK
View Code? Open in Web Editor NEWAn Open Source Requests-Based Supreme Bot
License: GNU General Public License v3.0
An Open Source Requests-Based Supreme Bot
License: GNU General Public License v3.0
This library is very old and it doesen't work on my lxde linux system.
namoso@namoso-hpelitebook2570p:~/open-supreme$ python osp.py
Traceback (most recent call last):
File "osp.py", line 174, in
start_captcha_server()
File "osp.py", line 171, in start_captcha_server
harvester.launch_browser()
File "/home/namoso/.local/lib/python3.8/site-packages/harvester/server/init.py", line 213, in launch_browser
return browserModule.launch(list(self.domain_cache.keys()),
File "/home/namoso/.local/lib/python3.8/site-packages/harvester/browser.py", line 108, in launch
binary_location = get_browser_binary_location(browser)
File "/home/namoso/.local/lib/python3.8/site-packages/harvester/browser.py", line 83, in get_browser_binary_location
return registry.get(platform.system())browser
TypeError: 'NoneType' object is not subscriptable
Michaels-MacBook-Pro:open-supreme michaellafortune$ pip install -r requirements.txt
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Collecting beautifulsoup4==4.7.1
Using cached beautifulsoup4-4.7.1-py2-none-any.whl (94 kB)
Collecting captcha-harvester==2.1.1
Using cached captcha-harvester-2.1.1.tar.gz (35 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/rv/qb9xhw_j5cz1vh7wy75tmpsw0000gn/T/pip-install-MGQuF_/captcha-harvester/setup.py'"'"'; file='"'"'/private/var/folders/rv/qb9xhw_j5cz1vh7wy75tmpsw0000gn/T/pip-install-MGQuF_/captcha-harvester/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/rv/qb9xhw_j5cz1vh7wy75tmpsw0000gn/T/pip-pip-egg-info-16pGI3
cwd: /private/var/folders/rv/qb9xhw_j5cz1vh7wy75tmpsw0000gn/T/pip-install-MGQuF_/captcha-harvester/
Complete output (10 lines):
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/rv/qb9xhw_j5cz1vh7wy75tmpsw0000gn/T/pip-install-MGQuF_/captcha-harvester/setup.py", line 3, in
import harvester
File "harvester/init.py", line 1, in
from harvester import browser, fetch, server
File "harvester/browser.py", line 31
def read_osx_defults(plist: str, binary: str) -> str:
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I was testing this on products still in stock not really sought after but the bot gets stuck on a loop of looking for the product and searching for "____" and repeats any help?
First of all nice programm.
But why does it not work for europe?
It would be so nice!
has this been tested on a drop? pulled your function from the checkout portion and it is working, just wondering if this passes captcha everytime? i cannot see a reason for the checkout failing.
atc_post.json()
is not giving back anything :( so getting stuck there. Any suggestion?
In response to add.json, I only get <Response [200]>
. On browser, analyzing add.json, using the same headers, sending the same data, I'm having back a response with data. I think there is a problem with Requests library or maybe I'm missing something. Please help <3
After that I do: python osp.py, it says:
File "/Users/alessandromaniscalco/PycharmProjects/open-supreme/osp.py", line 184, in
start_captcha_server()
File "/Users/alessandromaniscalco/PycharmProjects/open-supreme/osp.py", line 180, in start_captcha_server
harvester.launch_browser()
File "/Users/alessandromaniscalco/PycharmProjects/open-supreme/venv/lib/python3.9/site-packages/harvester/server/init.py", line 213, in launch_browser
return browserModule.launch(list(self.domain_cache.keys()),
File "/Users/alessandromaniscalco/PycharmProjects/open-supreme/venv/lib/python3.9/site-packages/harvester/browser.py", line 108, in launch
binary_location = get_browser_binary_location(browser)
File "/Users/alessandromaniscalco/PycharmProjects/open-supreme/venv/lib/python3.9/site-packages/harvester/browser.py", line 83, in get_browser_binary_location
return registry.get(platform.system())browser
File "/Users/alessandromaniscalco/PycharmProjects/open-supreme/venv/lib/python3.9/site-packages/harvester/browser.py", line 39, in read_osx_defults
binary_path = plistlib.readPlist(
Why PLEASE help me
mac@MacBook-Pro open-supreme % python osp.py
Traceback (most recent call last):
File "osp.py", line 5, in
from opensupreme import run_all
File "/Users/abc/open-supreme/opensupreme/init.py", line 1, in
from .atc_checkout import add_to_cart, checkout
File "/Users/abc/open-supreme/opensupreme/atc_checkout.py", line 14
atc_url = f"https://www.supremenewyork.com/shop/{item_id}/add.json"
^
SyntaxError: invalid syntax
This is a regular supreme bot, but you never address pooky? Why is that? Pooky is what blocks your checkout, and if its not addressed then the bot will never work.
I recently tested this and can get to the final stage of sending the checkout data, but every time the checkout fails and no errors or information is provided other than a "failed" status. I have tried:
@1fge @NicPav1 Any hints as to what may be wrong or what needs to be fixed? I wouldn't mind doing a PR, but I am unsure how to fix the problem at this point? The only thing I can think of is something with the ticket system and/or cookies may be blocking it?
How does this bot interact with the quantity amount on Supreme? For example, the socks have a quantity dropdown so will it just order one per task or will it choose the most and is there a way to say the amount?
When checking out, what shows when the checkout is successful or will we just have to wait for the confirmation email?
And also what is the recommended checkout delay? Will a time below 2 seconds be too fast or is that fine.
When i run python3 osp.py i got error
Traceback (most recent call last):
File "http://osp.py", line 173, in <module>
start_captcha_server()
File "http://osp.py", line 170, in start_captcha_server
harvester.launch_browser()
File "open-supreme/env/lib/python3.8/site-packages/harvester/server/__init__.py", line 213, in launch_browser
return browserModule.launch(list(self.domain_cache.keys()),
File "open-supreme/env/lib/python3.8/site-packages/harvester/browser.py", line 108, in launch
binary_location = get_browser_binary_location(browser)
File "open-supreme/env/lib/python3.8/site-packages/harvester/browser.py", line 83, in get_browser_binary_location
return registry.get(platform.system())[browser]()
TypeError: 'NoneType' object is not subscriptable
But i have google chrome, What am I doing wrong?
Hello, I tried using your program, but I get a KeyError in the 'parse_for_styles' function, as it does not seem to find the 'chk' key in the 'stylename' dictionnary.
I listed every key and values associated for each 'stylename' dictionnary that is retrieved, but I don't see a 'chk' key anywhere.
Could you tell me what this key is supposed to represent ?
Does CAPTCHA need to be studied together
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.