Compare commits
3 commits
aaa35f20c2
...
98ef086160
Author | SHA1 | Date | |
---|---|---|---|
![]() |
98ef086160 | ||
![]() |
7ff7e0ed4a | ||
![]() |
cb12de50d8 |
1 changed files with 3 additions and 6 deletions
|
@ -170,12 +170,9 @@ while True:
|
|||
print('getting next page')
|
||||
r = user.session.get(f'https://help.steampowered.com/en/accountdata/AjaxLoadMoreData/?url=GetFriendMessagesLog&continue={continue_value}')
|
||||
continue_value = r.json()['continue']
|
||||
if continue_value:
|
||||
html = r.json()['html']
|
||||
trs = BeautifulSoup(html, 'html.parser').find_all('tr')
|
||||
parse_trs(trs)
|
||||
else:
|
||||
break
|
||||
html = r.json()['html']
|
||||
trs = BeautifulSoup(html, 'html.parser').find_all('tr')
|
||||
parse_trs(trs)
|
||||
|
||||
# CLOSE
|
||||
|
||||
|
|
Loading…
Reference in a new issue