dmegahan / TwitchStats

Python bot for scraping mutliple Twitch.tv streams and IRCs for stream statistics
Apache License 2.0
1 stars 0 forks source link

Streamline splitting the csv files #31

Open dmegahan opened 9 years ago

dmegahan commented 9 years ago

Something like automatic way of determining which value you are looking for, like a dictionary. For example, the current csv format is viewers, streamer, game. You should be able to access it like viewers = row['viewers'] instead of viewers = row.split(",")[0]