View Single Post
  #9  
Old 19.07.2019, 08:18
Fetter Biff Fetter Biff is offline
JD Legend
 
Join Date: Oct 2014
Posts: 805
Default

Quote:
Interval mit 15 Minuten. Die Proxyliste wird alle 15 Minuten meines Wissens aktualisiert.
Ich finde in der Liste zwar "Intervall", aber nicht die Stelle, an der man die 15 Minuten eingeben kann:

Wie kann ich die 15 Minunten eingeben?

Quote:
Alternativ einfach als Schaltfläche im JDownloader hinterlegen
Die Schaltfläche finde ich wohl hier, oder. Aber wo finde ich den neuen Eintrag dort, kann ich nicht finden(?):



Quote:
ggf. noch eine Abfrage im Skript einbauen für die Schaltfläche.
Wie macht man das?

Quote:
Ein regulärer Proxy dürfte schneller als das TOR Netzwerk sein. Im Test war TOR jedenfalls ziemlich langsam. Sonst könnte man auch TOR als (lokalen) Proxy basteln und darüber JDownloader für die einzelnen Seiten nutzen.
Ah so, die Downloadgeschwindigkeit, ja, die ist bei Tor bei mir wohl recht langsam. Und ein regulärer Proxy ist in dem Skript wohl genommen, vermute ich, oder?

Gerade wird ein Fehler angezeigt, wie könnte man den vermeiden(?):


Code:
Wrapped org.jdownloader.extensions.eventscripter.EnvironmentException: Line 22
org.jdownloader.extensions.eventscripter.EnvironmentException: Line 22
jd.http.Browser$BrowserException: Caller: org.jdownloader.extensions.eventscripter.sandboxobjects.BrowserSandBox.getPage(BrowserSandBox.java:140)
org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment.getPage(ScriptEnvironment.java:551)
sun.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:120)
net.sourceforge.htmlunit.corejs.javascript.NativeJavaMethod.call(NativeJavaMethod.java:213)
net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1531)
net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)
org.jdownloader.scripting.JSHtmlUnitPermissionRestricter$SandboxContextFactory.doTopCall(JSHtmlUnitPermissionRestricter.java:119)
net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3057)
net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115)
net.sourceforge.htmlunit.corejs.javascript.Context.evaluateString(Context.java:1212)
org.jdownloader.extensions.eventscripter.ScriptThread.evalUNtrusted(ScriptThread.java:284)
org.jdownloader.extensions.eventscripter.ScriptThread.executeScipt(ScriptThread.java:176)
org.jdownloader.extensions.eventscripter.ScriptThread.run(ScriptThread.java:156)
BrowserID:912|BrowserParentID:-1|RequestID:1|URL:https://raw.githubusercontent.com/fate0/proxylist/master/proxy.list
----------------Request Information-------------
URL: https://raw.githubusercontent.com/fate0/proxylist/master/proxy.list
ConnectIP: raw.githubusercontent.com/151.101.12.133:443
Connection-Timeout: 20000ms
Read-Timeout: 60000ms
----------------Request-------------------------
GET /fate0/proxylist/master/proxy.list HTTP/1.1
Host: raw.githubusercontent.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:67.0) Gecko/20100101 Firefox/67.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-gb;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
Cache-Control: no-cache

----------------Response Information------------
Connection-Time: keep-Alive
Request-Time: 20ms
----------------Response------------------------
HTTP/1.1 200 OK
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
ETag: "8e47470c0de0233ce315da9ea533b82b8c3b9033"
Content-Type: text/plain; charset=utf-8
Cache-Control: max-age=300
X-Geo-Block-List: 
X-GitHub-Request-Id: 75A6:798E:4322B1:4B9D3C:5D315EC2
Content-Encoding: gzip
Content-Length: 37589
Accept-Ranges: bytes
Date: Fri, 19 Jul 2019 06:13:19 GMT
Via: 1.1 varnish
Connection: keep-alive
X-Served-By: cache-fra19169-FRA
X-Cache: HIT
X-Cache-Hits: 10
X-Timer: S1563516799.135317,VS0,VE0
Vary: Authorization,Accept-Encoding
Access-Control-Allow-Origin: *
X-Fastly-Request-ID: 24f644ef5c6332a364e00c83aa242b949bf2d846
Expires: Fri, 19 Jul 2019 06:18:19 GMT
Source-Age: 188
------------------------------------------------


	at jd.http.Browser.loadConnection(Browser.java:1452)
	at jd.http.Browser.getPage(Browser.java:1284)
	at jd.http.Browser.getPage(Browser.java:1280)
	at org.jdownloader.extensions.eventscripter.sandboxobjects.BrowserSandBox.getPage(BrowserSandBox.java:140)
	at org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment.getPage(ScriptEnvironment.java:551)
	at sun.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:120)
	at net.sourceforge.htmlunit.corejs.javascript.NativeJavaMethod.call(NativeJavaMethod.java:213)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1531)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)
	at org.jdownloader.scripting.JSHtmlUnitPermissionRestricter$SandboxContextFactory.doTopCall(JSHtmlUnitPermissionRestricter.java:119)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3057)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115)
	at net.sourceforge.htmlunit.corejs.javascript.Context.evaluateString(Context.java:1212)
	at org.jdownloader.extensions.eventscripter.ScriptThread.evalUNtrusted(ScriptThread.java:284)
	at org.jdownloader.extensions.eventscripter.ScriptThread.executeScipt(ScriptThread.java:176)
	at org.jdownloader.extensions.eventscripter.ScriptThread.run(ScriptThread.java:156)
Caused by: org.appwork.utils.net.httpconnection.KeepAliveSocketStreamException: java.net.SocketException: Socket is closed
	at org.appwork.utils.net.httpconnection.KeepAliveSocketStream$2.read(KeepAliveSocketStream.java:214)
	at java.io.FilterInputStream.read(Unknown Source)
	at java.io.FilterInputStream.read(Unknown Source)
	at org.appwork.utils.net.CountingInputStream.read(CountingInputStream.java:62)
	at org.appwork.utils.net.LimitedInputStream.read(LimitedInputStream.java:70)
	at java.io.FilterInputStream.read(Unknown Source)
	at org.appwork.utils.net.CountingInputStream.read(CountingInputStream.java:62)
	at java.util.zip.InflaterInputStream.fill(Unknown Source)
	at java.util.zip.InflaterInputStream.read(Unknown Source)
	at java.util.zip.GZIPInputStream.read(Unknown Source)
	at java.io.FilterInputStream.read(Unknown Source)
	at jd.http.Request.read(Request.java:127)
	at jd.http.Request.read(Request.java:843)
	at jd.http.Browser.loadConnection(Browser.java:1440)
	... 20 more
Caused by: java.net.SocketException: Socket is closed
	at sun.security.ssl.SSLSocketImpl.getInputStream(Unknown Source)
	at org.appwork.utils.net.httpconnection.JavaSSLSocketStreamFactory$2.getInputStream(JavaSSLSocketStreamFactory.java:249)
	at org.appwork.utils.net.httpconnection.KeepAliveSocketStream$2.read(KeepAliveSocketStream.java:212)
	... 33 more

	at org.jdownloader.extensions.eventscripter.sandboxobjects.BrowserSandBox.getPage(BrowserSandBox.java:142)
	at org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment.getPage(ScriptEnvironment.java:551)
	at sun.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:120)
	at net.sourceforge.htmlunit.corejs.javascript.NativeJavaMethod.call(NativeJavaMethod.java:213)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1531)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)
	at org.jdownloader.scripting.JSHtmlUnitPermissionRestricter$SandboxContextFactory.doTopCall(JSHtmlUnitPermissionRestricter.java:119)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3057)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115)
	at net.sourceforge.htmlunit.corejs.javascript.Context.evaluateString(Context.java:1212)
	at org.jdownloader.extensions.eventscripter.ScriptThread.evalUNtrusted(ScriptThread.java:284)
	at org.jdownloader.extensions.eventscripter.ScriptThread.executeScipt(ScriptThread.java:176)
	at org.jdownloader.extensions.eventscripter.ScriptThread.run(ScriptThread.java:156)
Caused by: jd.http.Browser$BrowserException: Caller: org.jdownloader.extensions.eventscripter.sandboxobjects.BrowserSandBox.getPage(BrowserSandBox.java:140)
org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment.getPage(ScriptEnvironment.java:551)
sun.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:120)
net.sourceforge.htmlunit.corejs.javascript.NativeJavaMethod.call(NativeJavaMethod.java:213)
net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1531)
net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)
org.jdownloader.scripting.JSHtmlUnitPermissionRestricter$SandboxContextFactory.doTopCall(JSHtmlUnitPermissionRestricter.java:119)
net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3057)
net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115)
net.sourceforge.htmlunit.corejs.javascript.Context.evaluateString(Context.java:1212)
org.jdownloader.extensions.eventscripter.ScriptThread.evalUNtrusted(ScriptThread.java:284)
org.jdownloader.extensions.eventscripter.ScriptThread.executeScipt(ScriptThread.java:176)
org.jdownloader.extensions.eventscripter.ScriptThread.run(ScriptThread.java:156)
BrowserID:912|BrowserParentID:-1|RequestID:1|URL:https://raw.githubusercontent.com/fate0/proxylist/master/proxy.list
----------------Request Information-------------
URL: https://raw.githubusercontent.com/fate0/proxylist/master/proxy.list
ConnectIP: raw.githubusercontent.com/151.101.12.133:443
Connection-Timeout: 20000ms
Read-Timeout: 60000ms
----------------Request-------------------------
GET /fate0/proxylist/master/proxy.list HTTP/1.1
Host: raw.githubusercontent.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:67.0) Gecko/20100101 Firefox/67.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-gb;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
Cache-Control: no-cache

----------------Response Information------------
Connection-Time: keep-Alive
Request-Time: 20ms
----------------Response------------------------
HTTP/1.1 200 OK
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
ETag: "8e47470c0de0233ce315da9ea533b82b8c3b9033"
Content-Type: text/plain; charset=utf-8
Cache-Control: max-age=300
X-Geo-Block-List: 
X-GitHub-Request-Id: 75A6:798E:4322B1:4B9D3C:5D315EC2
Content-Encoding: gzip
Content-Length: 37589
Accept-Ranges: bytes
Date: Fri, 19 Jul 2019 06:13:19 GMT
Via: 1.1 varnish
Connection: keep-alive
X-Served-By: cache-fra19169-FRA
X-Cache: HIT
X-Cache-Hits: 10
X-Timer: S1563516799.135317,VS0,VE0
Vary: Authorization,Accept-Encoding
Access-Control-Allow-Origin: *
X-Fastly-Request-ID: 24f644ef5c6332a364e00c83aa242b949bf2d846
Expires: Fri, 19 Jul 2019 06:18:19 GMT
Source-Age: 188
------------------------------------------------


	at jd.http.Browser.loadConnection(Browser.java:1452)
	at jd.http.Browser.getPage(Browser.java:1284)
	at jd.http.Browser.getPage(Browser.java:1280)
	at org.jdownloader.extensions.eventscripter.sandboxobjects.BrowserSandBox.getPage(BrowserSandBox.java:140)
	... 17 more
Caused by: org.appwork.utils.net.httpconnection.KeepAliveSocketStreamException: java.net.SocketException: Socket is closed
	at org.appwork.utils.net.httpconnection.KeepAliveSocketStream$2.read(KeepAliveSocketStream.java:214)
	at java.io.FilterInputStream.read(Unknown Source)
	at java.io.FilterInputStream.read(Unknown Source)
	at org.appwork.utils.net.CountingInputStream.read(CountingInputStream.java:62)
	at org.appwork.utils.net.LimitedInputStream.read(LimitedInputStream.java:70)
	at java.io.FilterInputStream.read(Unknown Source)
	at org.appwork.utils.net.CountingInputStream.read(CountingInputStream.java:62)
	at java.util.zip.InflaterInputStream.fill(Unknown Source)
	at java.util.zip.InflaterInputStream.read(Unknown Source)
	at java.util.zip.GZIPInputStream.read(Unknown Source)
	at java.io.FilterInputStream.read(Unknown Source)
	at jd.http.Request.read(Request.java:127)
	at jd.http.Request.read(Request.java:843)
	at jd.http.Browser.loadConnection(Browser.java:1440)
	... 20 more
Caused by: java.net.SocketException: Socket is closed
	at sun.security.ssl.SSLSocketImpl.getInputStream(Unknown Source)
	at org.appwork.utils.net.httpconnection.JavaSSLSocketStreamFactory$2.getInputStream(JavaSSLSocketStreamFactory.java:249)
	at org.appwork.utils.net.httpconnection.KeepAliveSocketStream$2.read(KeepAliveSocketStream.java:212)
	... 33 more
 (#22)
Reply With Quote