mirror of https://gitlab.com/bashrc2/epicyon
video-channels users path
parent
d330241fe6
commit
851c66f38c
7
utils.py
7
utils.py
|
@ -1012,14 +1012,15 @@ def getUserPaths() -> []:
|
||||||
"""Returns possible user paths
|
"""Returns possible user paths
|
||||||
e.g. /users/nickname, /channel/nickname
|
e.g. /users/nickname, /channel/nickname
|
||||||
"""
|
"""
|
||||||
return ('/users/', '/profile/', '/accounts/', '/channel/', '/u/', '/c/')
|
return ('/users/', '/profile/', '/accounts/', '/channel/', '/u/',
|
||||||
|
'/c/', '/video-channels/')
|
||||||
|
|
||||||
|
|
||||||
def getGroupPaths() -> []:
|
def getGroupPaths() -> []:
|
||||||
"""Returns possible group paths
|
"""Returns possible group paths
|
||||||
e.g. https://lemmy/c/groupname
|
e.g. https://lemmy/c/groupname
|
||||||
"""
|
"""
|
||||||
return ['/c/']
|
return ['/c/', '/video-channels/']
|
||||||
|
|
||||||
|
|
||||||
def getDomainFromActor(actor: str) -> (str, int):
|
def getDomainFromActor(actor: str) -> (str, int):
|
||||||
|
@ -1773,7 +1774,7 @@ def isValidLanguage(text: str) -> bool:
|
||||||
def _getReservedWords() -> str:
|
def _getReservedWords() -> str:
|
||||||
return ('inbox', 'dm', 'outbox', 'following',
|
return ('inbox', 'dm', 'outbox', 'following',
|
||||||
'public', 'followers', 'category',
|
'public', 'followers', 'category',
|
||||||
'channel', 'calendar',
|
'channel', 'calendar', 'video-channels',
|
||||||
'tlreplies', 'tlmedia', 'tlblogs',
|
'tlreplies', 'tlmedia', 'tlblogs',
|
||||||
'tlblogs', 'tlfeatures',
|
'tlblogs', 'tlfeatures',
|
||||||
'moderation', 'moderationaction',
|
'moderation', 'moderationaction',
|
||||||
|
|
Loading…
Reference in New Issue