Skip to content

Instantly share code, notes, and snippets.

@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',