Skip to content
项目

antongunov/favicongrabber.com

在 GitHub 查看

关于

Grabbing favicons from any domain

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Favicon Grabber license

Favicon Grabber is an online service to grab favicons from any domain.


Try Grabbing

API

Favicon Grabber API is simple and has the one endpoint. For instance, to grab favicons from digitalocean.com open https://favicongrabber.com/api/grab/digitalocean.com in your favorite browser.

Example Using

Grab icons with /apple/ mask in src property:

fetch('https://favicongrabber.com/api/grab/udemy.com')
  .then(response => response.json())
  .then(({ icons }) => icons.filter(({ src }) => /apple/.test(src)))
  .then(icons => icons.forEach(icon => console.log(icon)));

For the full description, please see Service API reference.

License

The code is available under the MIT License.

探索相关项目

加载中…