mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-22 15:58:52 -05:00
User-Agent: FileBot/4.8.2 (PKG; Mac OS X 10.13.5; x86_64) Java/10.0.1
This commit is contained in:
parent
5fbe642d8e
commit
e9c24efc42
@ -6,6 +6,7 @@ import static net.filebot.Logging.*;
|
||||
import static net.filebot.MediaTypes.*;
|
||||
import static net.filebot.Settings.*;
|
||||
import static net.filebot.util.FileUtilities.*;
|
||||
import static net.filebot.util.FileUtilities.getChildren;
|
||||
import static net.filebot.util.XPathUtilities.*;
|
||||
import static net.filebot.util.ui.SwingUI.*;
|
||||
|
||||
@ -377,7 +378,7 @@ public class Main {
|
||||
}
|
||||
|
||||
public static void initializeSystemProperties(ArgumentBean args) {
|
||||
System.setProperty("http.agent", String.format("%s %s", getApplicationName(), getApplicationVersion()));
|
||||
System.setProperty("http.agent", String.format("%s/%s (%s; %s %s; %s)", getApplicationName(), getApplicationVersion(), getApplicationDeployment().toUpperCase(), System.getProperty("os.name"), System.getProperty("os.version"), System.getProperty("os.arch")));
|
||||
System.setProperty("sun.net.client.defaultConnectTimeout", "10000");
|
||||
System.setProperty("sun.net.client.defaultReadTimeout", "60000");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user