Skip to content

Commit

Permalink
Strip quotes from AS names in bgptools.as_names crawler
Browse files Browse the repository at this point in the history
  • Loading branch information
m-appel committed Feb 9, 2024
1 parent 7e4f0e9 commit f0dcf81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iyp/crawlers/bgptools/as_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def run(self):
continue

asn, _, name = line.partition(',')
name = name.rpartition(',')[0]
name = name.rpartition(',')[0].strip('"')
asn = int(asn[2:])
asns.add(asn)
names.add(name)
Expand Down

0 comments on commit f0dcf81

Please sign in to comment.