Extra paths

merge-requests/30/head
Bob Mottram 2024-06-07 11:09:04 +01:00
parent 6bc3a4d2c0
commit cec37191c7
1 changed files with 3 additions and 2 deletions

View File

@ -1656,7 +1656,7 @@ def _get_statuses_list() -> []:
""" """
return ('/statuses/', '/objects/', '/honk/', '/p/', '/h/', '/api/posts/', return ('/statuses/', '/objects/', '/honk/', '/p/', '/h/', '/api/posts/',
'/note/', '/notes/', '/comment/', '/post/', '/item/', '/videos/', '/note/', '/notes/', '/comment/', '/post/', '/item/', '/videos/',
'/button/', '/x/', '/o/') '/button/', '/x/', '/o/', '/posts/', '/items/')
def contains_statuses(url: str) -> bool: def contains_statuses(url: str) -> bool:
@ -1887,7 +1887,8 @@ def get_user_paths() -> []:
'/u/', '/c/', '/m/', '/a/', '/video-channels/', '/u/', '/c/', '/m/', '/a/', '/video-channels/',
'/nieuws/author/', '/author/', '/nieuws/author/', '/author/',
'/activitypub/', '/actors/', '/snac/', '/@/', '/~/', '/activitypub/', '/actors/', '/snac/', '/@/', '/~/',
'/fediverse/blog/', '/user/', '/@', '/api/collections/') '/fediverse/blog/', '/user/', '/@', '/api/collections/',
'/feed/')
def get_group_paths() -> []: def get_group_paths() -> []: