Skip to content
Permalink
Browse files

fix overwatch sr scrape

  • Loading branch information...
Animosity committed Mar 20, 2019
1 parent 42c5043 commit 1334d4e126093b24c5e27c462a76ef7b3251f69c
Showing with 2 additions and 2 deletions.
  1. +2 −2 txtbot/plugins/overwatch.py
@@ -21,8 +21,8 @@ def __init__(self, bot):
for id in self.bnet_ids:
await self.bot.send_typing(ctx.message.channel)
try:
stats_url = 'https://playoverwatch.com/en-us/career/{platform}/{region}/{battle_tag}'
stats_url = stats_url.format(platform='pc', region='us', battle_tag=id.replace('#', '-'))
stats_url = 'https://playoverwatch.com/en-us/career/{platform}/{battle_tag}'
stats_url = stats_url.format(platform='pc', battle_tag=id.replace('#', '-'))

result = requests.get(stats_url)

0 comments on commit 1334d4e

Please sign in to comment.
You can’t perform that action at this time.