Vazno / count_steam_rep

πŸ‘ Count steam reputation for given steam profile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ‘ count_steam_rep

build

Count steam reputation for given steam profile

Usage:

  • First:
usage: count_steam_rep.py STEAM_USER_URL
  • Second:
count_steam_rep("steam_user_url")

How does it work?

To find all comments it goes through pages in profile's allcoments section

Then finds comments using this re pattern:

  • <div class="commentthread_comment_text" id="comment_content_[0-9]+">\r\n\t\t\t\t(.*)\t\t\t</div>

Finally counts reputation by comments in profile which contain these re patterns:

Positive reputation (add 1)

  • (?:[+][\s]+|[+]|plus[\s]+)(?:reputation|rep)

Negative reputation (minus 1)

  • (?:[-][\s]+|[-]|minus[\s]+)(?:reputation|rep)

πŸ”‘ License:

MIT - Beksultan Artykbaev

About

πŸ‘ Count steam reputation for given steam profile

License:MIT License


Languages

Language:Python 100.0%