DIYgod / RSSHub

🧡 Everything is RSSible
https://docs.rsshub.app
MIT License
32.93k stars 7.35k forks source link

新增feed favicon / 自定義feed favicon #8355

Open wft44maqb opened 3 years ago

wft44maqb commented 3 years ago

这是一个什么样的功能?

  1. HOTLINK_TEMPLATE相似
  2. 在feed鏈接後面加上?favicon=$(path)parameter

这个功能可以解决什么问题?

~

额外描述

  1. HOTLINK_TEMPLATE相似
    https://api.faviconkit.com/${host}/
    https://api.faviconkit.com/${host}/144

示例: https://api.faviconkit.com/www.netflix.com/ https://api.faviconkit.com/www.netflix.com/16 https://api.faviconkit.com/www.netflix.com/57 https://api.faviconkit.com/www.netflix.com/144

https://api.faviconkit.com/www.github.com/ https://api.faviconkit.com/www.github.com/16 https://api.faviconkit.com/www.github.com/57 https://api.faviconkit.com/www.github.com/144

  1. 在rsshub鏈接後面加上?favicon=$(path)parameter
    https://rsshub.app/telegram/channel/news_8world?favicon=$(path)

示例: https://rsshub.app/telegram/channel/news_8world https://rsshub.app/telegram/channel/news_8world?favicon=/mnt/c/Users/imnottwese/8world.ico https://rsshub.app/telegram/channel/news_8world?favicon=https://api.faviconkit.com/www.8world.com/ 呼叫上面那个功能? https://rsshub.app/telegram/channel/news_8world?favicon_rsshub=www.8world.com, favicon_rsshub可以設定多个服务商?

github-actions[bot] commented 3 years ago

👍 感谢提交该 Issue,请确保仔细阅读 Issue 模板RSS 提案模板Feature 提案模板 以便于测试。不符合模板将导致 Issue 被直接关闭。

👍 Thanks for the issue, please follow the Issue template, RSS proposal template or Feature proposal template. Otherwise the issue will be closed.

wft44maqb commented 3 years ago

https://api.faviconkit.com/${host}/144&af&output=png https://images.weserv.nl/?url=https://api.faviconkit.com/${host}/144&af&output=png