Skip to content

Commit

Permalink
Merge pull request #20 from cytopia/release-0.13
Browse files Browse the repository at this point in the history
Exclude useragent to prevent failing some requests
  • Loading branch information
cytopia authored Feb 28, 2019
2 parents 5e4672d + 24538f0 commit 02d6962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linkcheck
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ MY_VERSION="v0.12"
###
CURL_DEFAULTS=""
CURL_DEFAULTS="${CURL_DEFAULTS} -H 'Cache-Control: max-age=0'"
CURL_DEFAULTS="${CURL_DEFAULTS} -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36'"
#CURL_DEFAULTS="${CURL_DEFAULTS} -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36'"
CURL_DEFAULTS="${CURL_DEFAULTS} -H 'Accept-Language: en-US,en;q=0.8,en-GB;q=0.6,es;q=0.4'"
CURL_DEFAULTS="${CURL_DEFAULTS} -H 'DNT: 1'"
CURL_DEFAULTS="${CURL_DEFAULTS} -H 'Referer: https://www.google.com'"
Expand Down

0 comments on commit 02d6962

Please sign in to comment.