Compare commits

..

3 commits

Author SHA1 Message Date
mwiegand
98ef086160 wip 2022-04-10 22:34:38 +02:00
mwiegand
7ff7e0ed4a wip 2022-04-10 22:31:20 +02:00
mwiegand
cb12de50d8 wip 2022-04-10 22:23:28 +02:00

View file

@ -170,12 +170,9 @@ while True:
print('getting next page') print('getting next page')
r = user.session.get(f'https://help.steampowered.com/en/accountdata/AjaxLoadMoreData/?url=GetFriendMessagesLog&continue={continue_value}') r = user.session.get(f'https://help.steampowered.com/en/accountdata/AjaxLoadMoreData/?url=GetFriendMessagesLog&continue={continue_value}')
continue_value = r.json()['continue'] continue_value = r.json()['continue']
if continue_value: html = r.json()['html']
html = r.json()['html'] trs = BeautifulSoup(html, 'html.parser').find_all('tr')
trs = BeautifulSoup(html, 'html.parser').find_all('tr') parse_trs(trs)
parse_trs(trs)
else:
break
# CLOSE # CLOSE