yukky
Flag: Pakistan
Registered: May 8, 2023
Last post: November 17, 2024 at 12:54 PM
Posts: 6899
1 2 3 4 •• 132

Flair + Name

0-3

posted 3 days ago

dr pepper is already pretty cherryish ngl and i just dont fuck with pepsi

posted 1 week ago

maybe

posted 1 week ago

im getting tired of coke zero, i thikn its time for me to to move onto diet dr pepper

  1. diet dr pepper
  2. baja blast zero
  3. coke zero
posted 1 week ago

u cant with your name

ur associated with kirya, which kinda just makes everything you do pathetic

posted 1 week ago

cry more

posted 1 week ago

just your own words 🤷‍♂️🤷‍♂️🤷‍♂️

don’t be talking all high and mighty if you can’t formulate your thoughts well

be respectful and a good person

posted 1 week ago

wealthy western world 😭😭😭😭

you’re saying being poor and non western makes people transphobic ???

posted 1 week ago

that movie was a propaganda masterpiece

posted 1 week ago

americans so easy to bait when it’s just asking to be respectful lol

posted 1 week ago

i understand you!

posted 1 week ago

giving check marks to anyone these days

posted 1 week ago

TMV probably busted a load when he saw how bad SEN played in the finals

He's had some hate vendetta against SEN for a while, and looked miserable when SEN won madrid lol

He's a fucking idiot

posted 2 weeks ago

its all over my screen

posted 2 weeks ago

being edged by yay rn bruh

posted 2 weeks ago

yeah

posted 2 weeks ago

brother lets talk about your tiktok reposts instead

posted 2 weeks ago

10 rounds with your mom is still alot

posted 2 weeks ago

DONT REVERSE ME!

posted 2 weeks ago

My heart is pounding as I wait for Yay’s return. I can’t think straight. Everything feels tense and locked up inside me. I need a release. Yay, please do something. Just one play. One clutch moment. Then I’ll finally feel like I can breathe again.

Yayster, My King, He's Here.

posted 2 weeks ago

me too bro it’s never been like this before

posted 2 weeks ago

why is everyone taking about him

posted 2 weeks ago

no unless u got the face for it

posted 2 weeks ago

i remember you crying with snot saying you were quitting vlr the day tenz retired after u got banned 😅😅😅

posted 2 weeks ago

downvoted

posted 2 weeks ago

WEKKEN

posted 2 weeks ago

regular solos all other flavors

posted 2 weeks ago

K0rya

Why don't you put on a little show for us femboy

posted 2 weeks ago

hey

posted 2 weeks ago

ZEKKEN

posted 2 weeks ago

it’s not me

posted 3 weeks ago

yeah it’s me

posted 3 weeks ago

that yay hate tiktok account is crazy too

posted 3 weeks ago

happy diwali buddy

posted 3 weeks ago

This weekend the glorious king is back

I'll be conflicted when EG play SEN, but I'll be there no matter what

I hope he doesn't bot out though....that tiktok yay account gonna get revived then

posted 3 weeks ago

keep bo1 to group stages smh

posted 3 weeks ago

why is there a bo1 in playoffs for this tourney

holy mickey mouse

posted 3 weeks ago

the fuck???

my cats have way easier lives than me

they should feel bad for me instead of me feeling bad for them

posted 3 weeks ago

youre a little funny

posted 3 weeks ago

🪞🪞🪞🪞🪞🪞🪞🪞🪞🪞🪞🪞🪞🪞🪞

posted 3 weeks ago

u

posted 3 weeks ago

you have to get an expensive pillow tbh

posted 3 weeks ago

Yeahhhhhhhhh you got me thinking with this comment, just coded it. Was pretty fun

The below code gives me these all time avg stats for flor though:

{'player_name': 'florescent', 'rnd': 451, 'rating': 1.5, 'acs': 284.03, 'kd': 1.9, 'adr': 184.59, 'kast': 81, 'kpr': 1.03, 'apr': 0.38, 'fkpr': 0.11, 'fdpr': 0.07, 'k': 463, 'd': 302, 'a': 99, 'fk': 90, 'fd': 52}

import requests
from bs4 import BeautifulSoup

player_stats_template = {
    "player_name": "",  # Player's name
    "rnd": 0,           # Number of rounds played
    "rating": 0.0,      # Player rating
    "acs": 0.0,         # Average combat score
    "kd": 0.0,          # Kill/Death ratio
    "adr": 0.0,         # Average damage per round
    "kast": 0,          # Kill, Assist, Survive, or Traded percentage
    "kpr": 0.0,         # Kills per round
    "apr": 0.0,         # Assists per round
    "fkpr": 0.0,        # First kills per round
    "fdpr": 0.0,        # First deaths per round
    "k": 0,             # Total kills
    "d": 0,             # Total deaths
    "a": 0,             # Total assists
    "fk": 0,            # Total first kills
    "fd": 0             # Total first deaths
}

TOTAL_MAX_PLAYERS = 48850  # total number of players on vlr to potentially scrape

def get_player_data(player_num):
    url = f"https://www.vlr.gg/player/{player_num}/?timespan=all"
    response = requests.get(url)

    if response.status_code != 200:
        return None

    soup = BeautifulSoup(response.content, 'html.parser')

    # player name ^-^
    player_name_tag = soup.find('h1', class_='wf-title')
    player_name = player_name_tag.text.strip() if player_name_tag else player_num
    player_stats_template["player_name"] = player_name

    accumulator = {key: 0 for key in player_stats_template if key != "player_name"}
    num_rows = 0 

    stat_keys = list(player_stats_template.keys())[1:] 

    # get stats table
    table = soup.find_all('table', class_='wf-table')
    for ratings_tag in table:
        tbody = ratings_tag.find('tbody')
        if tbody:
            rows = tbody.find_all('tr')
            for row in rows:
                # extract all td that do not have a style attribute (no agent img & use % )
                cols = row.find_all('td')
                row_values = [col.text.strip() for col in cols if not col.has_attr('style')]

                # If the number of columns matches our expected stats, process the row
                if row_values and len(row_values) == len(stat_keys):
                    for i, key in enumerate(stat_keys):
                        # Accumulate values based on the key's expected data type
                        if isinstance(player_stats_template[key], int):
                            accumulator[key] += int(row_values[i].replace('%', ''))
                        else:
                            accumulator[key] += float(row_values[i])
                    num_rows += 1

    # calculate averages
    if num_rows > 0:
        for key in accumulator:
            if isinstance(player_stats_template[key], int):
                # for intege use floor division
                player_stats_template[key] = accumulator[key] // num_rows
            else:
                # for floating point round to two decimal places
                player_stats_template[key] = round(accumulator[key] / num_rows, 2)

    return player_stats_template

# florescent
player_num = '17976'
player_data = get_player_data(player_num)
if player_data:
    print(player_data)

# Uncomment the code below to iterate through every player up to TOTAL_MAX_PLAYERS
# for i in range(1, TOTAL_MAX_PLAYERS + 1):
#     player_num = str(i)  # Convert player number to string for URL construction
#     player_data = get_player_data(player_num)
#     if player_data:
#         print(player_data)
#         break  # Stop after finding and printing the first valid player data
posted 3 weeks ago

Is this stats for their current team only or all time?

If its all time I think its off btw cause flors avg rating all time rating is 1.50

ratings = [1.41, 1.37, 1.28, 1.29, 1.39, 1.13, 1.14, 1.51, 1.17, 1.37, 1.58, 1.42, 1.35, 1.77, 1.69, 1.71, 1.72, 1.53, 1.67, 1.12, 1.63, 2.12, 1.42, 2.23]
total_sum = sum(ratings)
count = len(ratings)
average_rating = total_sum / count
print(average_rating) #1.5008333333333332
posted 3 weeks ago

this was funny

i upvoted

posted 3 weeks ago

brother talking about you & trembo

posted 4 weeks ago

must not be a good researcher then lol

you’re a local vlr bot

they had pro players hate on them cause they trolled so much

posted 4 weeks ago

Well there was a ferrari thread by you…

posted 4 weeks ago
1 2 3 4 •• 132