Skip to content

Commit

Permalink
added user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
massimocandela committed Sep 3, 2021
1 parent 6a8020a commit 6bcf959
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/finder.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ export default class Finder {
this.connectors = ["ripe", "afrinic", "apnic", "arin", "lacnic"]
.filter(key => this.params.include.includes(key));

this.whois = new WhoisParser({ repos: this.connectors });
this.whois = new WhoisParser({
repos: this.connectors,
userAgent: "geofeed-finder"
});
};

filterFunction = (inetnum) => {
Expand Down

0 comments on commit 6bcf959

Please sign in to comment.