Skip to content

Instantly share code, notes, and snippets.

# default data for the current version of chrome
USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
ACCEPT_HEADER="text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
ACCEPT_HEADER_AJAX="*/*"
ACCEPT_ENCODING_HEADER="gzip, deflate, br"
ACCEPT_LANGUAGE_HEADER="en-US,en;q=0.9,ms;q=0.8"
CONNECTION_HEADER="keep-alive"
DEFAULT_CONTENT_TYPE="application/x-www-form-urlencoded"
ACCOUNTFILE="accounts.txt"
PROXYFILE="proxies.txt"
MAXTHREADS=50
OUTPUTFILE="orderstatus.txt"
MININTERVAL=1
try:
PROXYLIST=open(PROXYFILE,'r').read().split("\n")
PROXYLIST=[p.strip() for p in PROXYLIST if p.strip()!=""]
except:
ACCOUNTFILE="accounts.txt"
PROXYFILE="proxies.txt"
MAXTHREADS=50
OUTPUTFILE="entries.txt"
PRODUCTID="cdcb1066-2c38-5ec7-990a-b9cdf6387269" # US OW release
MININTERVAL=1
try:
PROXYLIST=open(PROXYFILE,'r').read().split("\n")
PROXYLIST=[p.strip() for p in PROXYLIST if p.strip()!=""]
import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
MAXTHREADS=10
ACCFILENAME="accounts.txt"
VERIFIEDACCFILENAME="verifiedaccounts.txt"
import os
import requests
from bs4 import BeautifulSoup as BS
from urllib.parse import urljoin
import time
import zipfile
import io
TORPATH=""
MAX_CONNECTIONS=10
CONNECT_DELAY=7
ACCOUNTFILENAME="nikeemails.txt"
#Don't change anything below this line
import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
import re
def getAppVersion():
global APPVERSION,EXPVERSION
from multiprocessing import Pipe
from threading import Thread, Lock
import _thread
from threadedqueue import ThreadedQueue
class MPObjectWrapper:
def __init__(self, baseobj):
self.baseobject = baseobj
from threading import Lock, Condition
class ThreadLimiter:
def __init__(self, maxvalue):
self.maxvalue = maxvalue
self.currentvalue = 0
self.mainlock = Lock()
self.maincond = Condition(self.mainlock)
from threading import Lock, Condition
import _thread
import Queue
import time
class ThreadedQueue:
def __init__(self):
self.items = []
self.globallock = Lock()
1.53