mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-02 22:20:23 +00:00
User-Agent
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@510 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
69e3e4488d
commit
1d5cdd3ffd
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ class HttpUrlData (UrlData):
|
|||
self.proxyauth)
|
||||
if self.parentName:
|
||||
self.urlConnection.putheader("Referer", self.parentName)
|
||||
self.urlConnection.putheader("User-agent", Config.UserAgent)
|
||||
self.urlConnection.putheader("User-Agent", Config.UserAgent)
|
||||
if self.config['cookies']:
|
||||
self.cookies = self.config.getCookies(self.urlTuple[1],
|
||||
self.urlTuple[2])
|
||||
|
|
|
|||
Loading…
Reference in a new issue