Skip to content

Commit 0eaeab6

Browse files
committed
User agent
1 parent 0bad0d9 commit 0eaeab6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ pub async fn make_bungie_request(path: String, i: u32) -> Option<Response> {
8585
.get(url)
8686
.header("X-API-Key", BUNGIE_KEY)
8787
.header("Accept-Encoding", "gzip")
88+
.header("User-Agent", "EmergencyBucket/collectionscraper")
8889
.send()
8990
.await;
9091

0 commit comments

Comments
 (0)