mirror of https://gitlab.com/bashrc2/epicyon
Get moved feed
parent
ad7b82eec8
commit
d561d0f81e
10
daemon.py
10
daemon.py
|
@ -14376,19 +14376,15 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
get_moved_feed(base_dir, domain, port, path,
|
get_moved_feed(base_dir, domain, port, path,
|
||||||
http_prefix, authorized, FOLLOWS_PER_PAGE)
|
http_prefix, authorized, FOLLOWS_PER_PAGE)
|
||||||
if following:
|
if following:
|
||||||
print('DEBUG: get_moved_feed ' + str(following))
|
|
||||||
if self._request_http():
|
if self._request_http():
|
||||||
page_number = 1
|
page_number = 1
|
||||||
if '?page=' not in path:
|
if '?page=' not in path:
|
||||||
search_path = path
|
search_path = path
|
||||||
# get a page of following, not the summary
|
# get a page of following, not the summary
|
||||||
following = \
|
following = \
|
||||||
get_following_feed(base_dir,
|
get_moved_feed(base_dir, domain, port, path,
|
||||||
domain,
|
http_prefix, authorized,
|
||||||
port,
|
FOLLOWS_PER_PAGE)
|
||||||
path + '?page=true',
|
|
||||||
http_prefix,
|
|
||||||
authorized, FOLLOWS_PER_PAGE)
|
|
||||||
else:
|
else:
|
||||||
page_number_str = path.split('?page=')[1]
|
page_number_str = path.split('?page=')[1]
|
||||||
if ';' in page_number_str:
|
if ';' in page_number_str:
|
||||||
|
|
Loading…
Reference in New Issue