Closed da3dsoul closed 8 months ago
Can pull the favicon using both Google and DuckDuckGo.
https://www.google.com/s2/favicons?domain={site-name}.{extension} http://icons.duckduckgo.com/ip2/{site-name}.{extension}.ico
Google only returns a 16x16 version of the favicon while DuckDuckGo will return the highest resolution available.
https://www.google.com/s2/favicons?domain=shokoanime.com http://icons.duckduckgo.com/ip2/shokoanime.com.ico
This is already planned and somewhat implemented in the Web UI
The http definition example xml data
Example of multiple links of the same kind (NSFW links)
Types (incomplete)
Replace {id} with the info from the xml 1 -> ANN (http://www.animenewsnetwork.com/encyclopedia/anime.php?id={id}) 2 -> MAL (https://myanimelist.net/anime/{id}) 4 -> Official website ({id}) 6 -> wikipedia (https://en.wikipedia.org/wiki/{id}) 7 -> wikipedia.jp (https://ja.wikipedia.org/wiki/{urlencoded id}( 8 -> schedule (http://cal.syoboi.jp/tid/{id}/time) 9 -> Allcinema (http://www.allcinema.net/prog/show_c.php?num_c={id}) 10 -> anison (http://anison.info/data/program/{id}.html) 14 -> vndb (https://vndb.org/{id alpha}{id num}) 23 -> twitter (https://twitter.com/{id}) 26 -> trailer (https://www.youtube.com/{id}) 28 -> crunchyroll (http://www.crunchyroll.com/{id})
We already have all of this info saved, we need only parse it and use it.