nitefood / asn

ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server
MIT License
1.37k stars 163 forks source link

Some flags aren't being pulled in from cdnjs #15

Closed ScrumpyJack closed 3 years ago

ScrumpyJack commented 3 years ago

This ASN lookup string broke the pulling of a flag.

LINODE-AP Linode, LLC, US

I'm guessing the code grabs the second field in a comma separated list, as it attempted to grab llc.svg

We should probably grab the last item in the list.

I'll take a closer look when I have some time.

nitefood commented 3 years ago

Spot on, that's precisely what's happening. Thanks for your feedback!