marlow
Flag: United Kingdom
Registered: May 30, 2021
Last post: February 8, 2025 at 3:42 PM
Posts: 125
1 2 3

dude what I just bought Grace on vinyl today

posted 3 weeks ago

blawg

posted 1 month ago

i dont have one on the ghost because one should be focused always on the wiggle of the ghost's barrel

posted 1 month ago

sometimes i just like the skin being clean yk

posted 1 month ago

yeah

posted 3 months ago

Honestly M2, it feels normie but its just easier

posted 3 months ago

Bleed.

posted 5 months ago

electric

posted 9 months ago

accusing a community is only wrong if the accusations themselves are wrong

posted 9 months ago

no flair discussing flairs hmmmmmm

posted 9 months ago

cant let gang know i fuck w this

posted 10 months ago

?

posted 10 months ago

honestly i dont know enough about it in practice to know if it'd work well, but that makes sense

posted 10 months ago

i think hamming distance relies on the object and target being the same size/length though, so might not work well

posted 10 months ago

this would genuinely take a bajillion years

posted 10 months ago

should have it set up for users by september, depends how often i get to work on it

i unfortunately got beaten to the idea by another guy (cant remember his sites name), but im mainly just doing this for a personal project

posted 10 months ago

yeah thats a good point, thanks. I'll set the whole file up as a function to call for different parts of the site I think. Its very bare bones atm and it only works for individual leagues during splits (it gets really complicated when teams are playing different amounts of matches).

posted 10 months ago

trying to make a VLR fantasy league site, so converting the stats page - with relevant parameters - into csv file/mysql database. pretty low level but ive got it working alright now. using it for a stats page on my site, and to be able to have the data for when players want to have their own teams. makes it a lot more efficient than sending GET requests for everything client side.

def scrapeStats(url):
getResponse = requests.get(url)
#verifying successful request response
if getResponse.statuscode == 200:
#parse HTML content
doc = BeautifulSoup(getResponse.content, "html.parser")
#saving only table data
table = doc.find(class
='wf-card mod-table mod-dark')
headers = []
rows = []
#extract and fill the header and row arrays with table data
for th in table.find_all('th'):
headers.append(th.text.strip())
for tr in table.find_all('tr')[1:]:
row = []
for td in tr.find_all('td'):
row.append(td.text.strip())
rows.append(row)
return headers, rows
else:
#in case of unsuccessful request response
print("Request Error")
return None, None

def clean_data(headers, rows):
#appending new team column
for row in rows:
player_name = row[0]
team_name = player_name.split()[-1]
row.append(team_name)
#deleting redundant agents column
agents_index = headers.index('Agents')
for row in rows:
del row[agents_index]
del headers[agents_index]

def save_to_csv(headers, rows, fileName):
with open(fileName, 'w', newline='') as csvFile:
writer = csv.writer(csvFile)
#write headers and rows
#create team header
writer.writerow(headers + ['Team'])
for row in rows:
writer.writerow(row)
print(f"Data has been saved to {fileName}")

def main():
#change this depending on the vlr stats page that you want it to scrape from
url = "https://www.vlr.gg/event/stats/1921/champions-tour-2024-masters-madrid?exclude=&min_rounds=0&agent=all"
#created CSV file name
fileName = 'vlr_stats.csv'
#scraping data
headers, rows = scrapeStats(url)
#check data is retrieved successfully
if headers and rows:
#clean data
clean_data(headers, rows)
#save data to CSV file
save_to_csv(headers, rows, fileName)

if name == "main":
main()

posted 10 months ago

yeah im working on a webscraper from VLR atm but for stats only, messages sounds horrific in comparison. Don't have a good enough understanding for evaluating efficiency. Although I think there are fuzzy matching packages for the sort of stuff you're looking into.

posted 10 months ago

tbh i think that you'll be able to find an open-source program to do this for you, but if you wanted to do it yourself i think you could try to tokenise keywords - so it evaluates a specific order of tokens as the target phrase. idk how you'd actually code this though

posted 10 months ago

upvoted + modded

posted 10 months ago

challengers realistically

posted 10 months ago

watch literally any live sport

posted 11 months ago

acoustic gentleman i see

posted 11 months ago

is the goat

posted 11 months ago

they had a a retake setup the whole game so if john gets no contact elbow then its that setup lmao

posted 11 months ago

jeremy clarkson is a better farmer

posted about a year ago

comp was not an issue

posted about a year ago

feel bad for the casters like tf they supposed to do there

posted about a year ago

AND THEN EVERYBODY CLAPPED

posted about a year ago

grinning rn

posted about a year ago

more that zekken struggles on controller ig

posted about a year ago

physically convulsed @riot BAN HIM

posted about a year ago

@mods doing sum webscraping of the stats page and I noticed that s0m's team is apparently 'Team' right now. Could we get a fix pls? :)

not an NRG problem Crashies is fine

posted about a year ago

wym coping they are bro LMAO

posted about 2 years ago

calm down lol

posted about 2 years ago

bannable imo

posted about 2 years ago

just changed my pickems to VIT winning because of this

posted about 2 years ago

on map 3???? neon for kayo would be a massive troll

posted about 2 years ago

thats pretty funny icl

posted about 2 years ago

i do believe in him also my good sir

posted about 2 years ago

@mods get him

posted about 2 years ago

thats ranked cuzzo

posted about 2 years ago

uh oh

posted about 2 years ago

shadow fight 3 reference????????????

posted about 2 years ago

C9 yay lover I have decided that you have fallen off

posted about 2 years ago

stats meh but HE GOT THAT DAWG IN HIM

posted about 2 years ago

take notes kiddo

posted about 2 years ago
1 2 3