mirror of https://gitlab.com/bashrc2/epicyon
Include page in hashtag collection lookup
parent
6de137a559
commit
78a7c7f395
|
@ -1079,9 +1079,12 @@ def html_hashtag_search_remote(nickname: str, domain: str, port: int,
|
||||||
as_header = {
|
as_header = {
|
||||||
'Accept': 'application/activity+json; profile="' + profile_str + '"'
|
'Accept': 'application/activity+json; profile="' + profile_str + '"'
|
||||||
}
|
}
|
||||||
|
hashtag_url_with_page = hashtag_url
|
||||||
|
if '?page=' not in hashtag_url_with_page:
|
||||||
|
hashtag_url_with_page += '?page=' + str(page_number)
|
||||||
hashtag_json = \
|
hashtag_json = \
|
||||||
get_json(signing_priv_key_pem,
|
get_json(signing_priv_key_pem,
|
||||||
session, hashtag_url, as_header, None, debug,
|
session, hashtag_url_with_page, as_header, None, debug,
|
||||||
__version__, http_prefix, domain)
|
__version__, http_prefix, domain)
|
||||||
lines = []
|
lines = []
|
||||||
if hashtag_json:
|
if hashtag_json:
|
||||||
|
|
Loading…
Reference in New Issue