Skip to content

Commit

Permalink
Use iPhone user agent for higher res icons (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
mat committed May 27, 2017
1 parent 89acfb3 commit 4bc2ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion besticon/besticon.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ func getBodyBytes(r *http.Response) ([]byte, error) {

func setDefaultHeaders(req *http.Request) {
req.Header.Set("Accept", "*/*")
req.Header.Set("User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36")
req.Header.Set("User-Agent", "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0 like Mac OS X) AppleWebKit/602.1.38 (KHTML, like Gecko) Version/10.0 Mobile/14A5297c Safari/602.1")
}

func mustInitCookieJar() *cookiejar.Jar {
Expand Down

0 comments on commit 4bc2ab2

Please sign in to comment.