wip
This commit is contained in:
parent
7ff7e0ed4a
commit
98ef086160
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ def parse_trs(trs):
|
||||||
message=message,
|
message=message,
|
||||||
)
|
)
|
||||||
# download steamuserimages
|
# 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)
|
url = urlparse(url_string)
|
||||||
if url.netloc.startswith('steamuserimages'):
|
if url.netloc.startswith('steamuserimages'):
|
||||||
response = requests.get(url_string)
|
response = requests.get(url_string)
|
||||||
|
|
Loading…
Reference in a new issue