jk cli
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
405 B

filler = ['!', '¡', '?', '¿', '.', "'", ':', '=']
def ani_link(anime):
base_link = 'https://jkanime.net/'
anime = anime.replace('½', '-')
for x in filler:
anime = anime.replace(x, '')
anime = anime.replace(' ', '-')
anime = anime.lower()
final_link = base_link + anime + '/'
return final_link
def ep_link(link, ep):
link = link + str(ep) + '/'
return link