Changed so I you can pass a per-request user-agent string.
This commit is contained in:
parent
9a8c0fd5ac
commit
57349ed2c3
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ public class HttpClientFeedFetcher extends AbstractFeedFetcher {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
System.setProperty("httpclient.useragent", getUserAgent());
|
System.setProperty("httpclient.useragent", userAgent);
|
||||||
|
|
||||||
String urlStr = feedUrl.toString();
|
String urlStr = feedUrl.toString();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue