Skip to content

Instantly share code, notes, and snippets.

@auxermen
auxermen / auto_accept_ban_pick.py
Last active June 23, 2025 06:56
League of Legends auto accept queue, ban and pick champion
from lcu_driver import Connector
connector = Connector()
# To get champ and rune IDs:
# get latest version of api: https://ddragon.leagueoflegends.com/api/versions.json
# get champ data: https://ddragon.leagueoflegends.com/cdn/${version}/data/en_US/champion.json
# get rune data: https://ddragon.leagueoflegends.com/cdn/${version}/data/en_US/runesReforged.json
# 1 - cleanse, 3 - exhaust, 4 - flash, 6 - ghost, 7 - heal, 11 - smite, 12 - teleport, 14 - ignite, 21 - barrier
@auxermen
auxermen / scrapper.py
Created June 8, 2021 20:19
GW2BLTC scrapper
import requests
from bs4 import BeautifulSoup
import keyboard
import time
import re
import pyperclip
# list of all urls that should be scraped for items, make sure to add '&ipg=200&cust-search=sell%2Cbuy%2Cprofit-pct' at the end
URLS = ['https://www.gw2bltc.com/en/tp/search?rarity=Legendary&sell-min=100000&profit-pct-min=10&cust-search=sell%2Cbuy%2Cprofit-pct',
'https://www.gw2bltc.com/en/tp/search?rarity=Rare&level-min=50&level-max=70&sell-min=300000&profit-pct-min=25&ipg=200&cust-search=sell%2Cbuy%2Cprofit-pct',