OpenSubtitles.org blocked in Denmark
OpenSubtitles.org blocked in Denmark
OpenSubtitles has been blocked here in Denmark for about a month and I am trying to get a workaround for FileBot so it can download subtitles again. The only thing i can make work is via VPN (which isnt good, because it throttles my speed). I tried using a private proxy thats located in england, but i keep getting the error "Not in GZIP format". The website works fine with the proxy, but maybe their API detects that its a proxy?
I tired setting the proxy setting in Java Control Panel, in the filebot.launcher.l4j.ini file and as system properties (dont know if I did that last one right), and the error is still there.
Is there anything i can do to make it work?
I tired setting the proxy setting in Java Control Panel, in the filebot.launcher.l4j.ini file and as system properties (dont know if I did that last one right), and the error is still there.
Is there anything i can do to make it work?
Re: OpenSubtitles.org blocked in Denmark
You can set Java System Properties for FileBot via the FILEBOT_OPTS environment variable from CMD like so:
https://docs.oracle.com/javase/8/docs/t ... oxies.html
Code: Select all
setx FILEBOT_OPTS="-Dhttps.proxyHost=<HOST> -Dhttps.proxyPort=<PORT>"
![Idea :idea:](./images/smilies/icon_idea.gif)
Re: OpenSubtitles.org blocked in Denmark
I get invalid syntax error with that command. I tried replacing <HOST> with the IP and <PORT> with the port, with and without "<>".
Re: OpenSubtitles.org blocked in Denmark
Well, I guess setx doesn't like the = then.
Try this:
Try this:
Code: Select all
setx FILEBOT_OPTS "-Dhttps.proxyHost=<HOST> -Dhttps.proxyPort=<PORT>"
Re: OpenSubtitles.org blocked in Denmark
The command works now, but it still gives the same error. Is it possible that they can detect proxies in their API? Or maybe it doesn't connect with the proxy. Is there a way to check if it works?
EDIT: After a reboot it started working. Thanks for the help and this great program!
EDIT: After a reboot it started working. Thanks for the help and this great program!
Re: OpenSubtitles.org blocked in Denmark
Windows environment variables can be tricky. Sometimes you need to restart things. At least the process. Sometimes the OS, which in turn means all processes are restarted with the latest environment variables.
Re: OpenSubtitles.org blocked in Denmark
After more testing, it seems like the problem is still persistant in the amc script. Is there a way to use the proxy with that too?
Re: OpenSubtitles.org blocked in Denmark
FILEBOT_OPTS should be a global environment variable and should work for everything. You can run filebot -script fn:sysenv (e.g. instead of the amc script) to check if the environment / system properties are indeed set.
Re: OpenSubtitles.org blocked in Denmark
Everything seems to look fine with that script. But it still doesn't seem to work with the amc script (still the GZIP format error). The FileBot (console) works fine but the other launcher without the console doesnt.. This seems very wierd. I think ill do a clean install of FileBot and see if that helps.
Re: OpenSubtitles.org blocked in Denmark
Okay, after reinstalling and restarting it seems to work fine with the script. Thanks for the help!
Re: OpenSubtitles.org blocked in Denmark
I just tried https://www.opensubtitles.org
... When did it start working again and why ?
... When did it start working again and why ?