Next field index

main
Bob Mottram 2023-02-20 11:35:48 +00:00
parent 04b8cfc33a
commit c6eee6985d
1 changed files with 2 additions and 2 deletions

View File

@ -1119,10 +1119,10 @@ def html_hashtag_search_remote(nickname: str, domain: str, port: int,
new_lines = []
for line in lines:
section = line.split(' ')
if len(section) < 3:
if len(section) < 4:
continue
if curr_page == page_number:
new_lines.append(section[2].replace('#', '/'))
new_lines.append(section[3].replace('#', '/'))
item_ctr += 1
if item_ctr >= posts_per_page:
item_ctr = 0