diff --git a/steam_chat_logger.py b/steam_chat_logger.py index ffbcc13..d1931a2 100755 --- a/steam_chat_logger.py +++ b/steam_chat_logger.py @@ -146,7 +146,7 @@ def parse_trs(trs): message=message, ) # download steamuserimages - for url_string in re.findall(r'(https?://\S+)', text): + for url_string in re.findall(r'(https?://\S+)', message): url = urlparse(url_string) if url.netloc.startswith('steamuserimages'): response = requests.get(url_string)