📜  如何在 python 代码示例中进行 mac 供应商查找

📅  最后修改于: 2022-03-11 14:45:47.662000             🧑  作者: Mango

代码示例1
import requests
 
for addr in ['88:53:2E:67:07:BE', 'FC:FB:FB:01:FA:21',
        'D4:F4:6F:C9:EF:8D', '23:45:67']:
    vendor = requests.get('http://api.macvendors.com/' + addr).text
    print(addr, vendor)