/animeapplication

application for streaming and downloading video from a custom web server

Primary LanguageJava

animeapplication

application for indexing stuff mainly anime, it can be serve by any server with this structure
/info ->[["name of the source","/tag_of_the_souce","url_of_the_source"],["name_of_2_source","/second_tag","2url"],....]
/tag/latest ->[["url_download_latest_episode","Title","img_url"],......]
/tag/q?q="searchterm" (without "")->[["url_series","title","img_url"],.......]
/tag/dettagli?url="url_of_series"&chunk=chunk (without ", a chunk is a group of 20 episode, if you do not want to implement it just put everything on chunk 0 and throw an error on other chunk) -> [["url_download_episode","number of the episode"]]
/tag/negi?url="url_of_serie" -> number of episode of the series (just an number ex: 13)
all data exept from nepi should be encoded with the same method as this function
def encode(packet):
key="A@g-`{0Qk?R\xDBp=:zECn~LV;MP1O4a6uJHyws"#*!i/h)Nf8+vd%j.&2[K]tTl9>IU,Wm'5_G7^q<SFZo$r|Yb 3}X(ce"
encoded=""
for i in range(0,len(packet)-1,1):
encoded+=(key[ord(packet[i])-32])
return encoded