JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #601  
Old 20.02.2019, 17:02
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 59,656
Default

@mgpai: the bulk import has different format than the proxy list returns. requires a converter
__________________
JD-Dev & Server-Admin
Reply With Quote
  #602  
Old 20.02.2019, 17:20
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 423
Default

Quote:
Originally Posted by Jiaz View Post
@mgpai: the bulk import has different format than the proxy list returns. requires a converter
I understand. Most of the public proxy lists are not in any standard format, and converting them (parsing IP,Port,Host) is the difficult part. Considering the efficiency/life of public proxies, I am not sure if it is worth the effort. It is of course is only my personal opinion.

If any one wants to create a script and need any info/help with API, I can definitely try to help out.
Reply With Quote
  #603  
Old 20.02.2019, 21:49
Cyberavater Cyberavater is offline
Junior Loader
 
Join Date: Feb 2019
Posts: 10
Default

Quote:
Originally Posted by mgpai View Post
Considering the efficiency/life of public proxies, I am not sure if it is worth the effort.
It'll regenerate in every 15 mins check here; **External links are only visible to Support Staff****External links are only visible to Support Staff**
So, U won't have to worry about their life. Just make it grab proxies from there in every 15 mins.

Quote:
Originally Posted by mgpai View Post
Hope you have tried the bulk proxies import feature in JD Connection Manager.
No, I haven't tried it yet. Can U explain a little bit more?
Reply With Quote
  #604  
Old 20.02.2019, 21:50
pinko pinko is offline
Baby Loader
 
Join Date: Feb 2019
Posts: 5
Default

@Jiaz: I regular downloading new videos from some youtube channels (there is 7 channels). But every time JD put them in package Various files, because is only one video. I want that JD put these videos into packages with channel name.
But other links (if i downloading from some other channel or page) who are not from selected channels, it must put them in Various files.
Reply With Quote
  #605  
Old 20.02.2019, 21:54
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 423
Default

Script Removed.

Last edited by mgpai; 20.02.2019 at 22:07.
Reply With Quote
  #606  
Old 20.02.2019, 21:59
Cyberavater Cyberavater is offline
Junior Loader
 
Join Date: Feb 2019
Posts: 10
Default

Quote:
Originally Posted by mgpai View Post
test
It says,

net.sourceforge.htmlunit.corejs.javascript.WrappedException: Wrapped org.jdownloader.extensions.eventscripter.EnvironmentException: Line 7
java.io.IOException: No request available:h++ps://raw.githubusercontent.com/user/project/branch/file
at jd.http.Browser.getURL(Browser.java:1373)
at jd.http.Browser.createGetRequest(Browser.java:704)
at jd.http.Browser.getPage(Browser.java:1279)
at org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment.getPage(ScriptEnvironment. java:520)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.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 script(:7)
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(JSHtmlUnitP ermissionRestricter.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:254)
at org.jdownloader.extensions.eventscripter.ScriptThread.executeScipt(ScriptThread.java:148)
at org.jdownloader.extensions.eventscripter.ScriptThread.run(ScriptThread.java:128)
(#7)
at net.sourceforge.htmlunit.corejs.javascript.Context.throwAsScriptRuntimeEx(Context.java:1907)
at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:146)
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(JSHtmlUnitP ermissionRestricter.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:254)
at org.jdownloader.extensions.eventscripter.ScriptThread.executeScipt(ScriptThread.java:148)
at org.jdownloader.extensions.eventscripter.ScriptThread.run(ScriptThread.java:128)
Caused by: org.jdownloader.extensions.eventscripter.EnvironmentException: Line 7
java.io.IOException: No request available:h++ps://raw.githubusercontent.com/user/project/branch/file
at jd.http.Browser.getURL(Browser.java:1373)
at jd.http.Browser.createGetRequest(Browser.java:704)
at jd.http.Browser.getPage(Browser.java:1279)
at org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment.getPage(ScriptEnvironment. java:520)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.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(JSHtmlUnitP ermissionRestricter.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:254)
at org.jdownloader.extensions.eventscripter.ScriptThread.executeScipt(ScriptThread.java:148)
at org.jdownloader.extensions.eventscripter.ScriptThread.run(ScriptThread.java:128)

at org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment.getPage(ScriptEnvironment. java:522)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.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)
... 12 more
Caused by: java.io.IOException: No request available:h++ps://raw.githubusercontent.com/user/project/branch/file
at jd.http.Browser.getURL(Browser.java:1373)
at jd.http.Browser.createGetRequest(Browser.java:704)
at jd.http.Browser.getPage(Browser.java:1279)
at org.jdownloader.extensions.eventscripter.sandboxobjects.ScriptEnvironment.getPage(ScriptEnvironment. java:520)
... 17 more
Reply With Quote
  #607  
Old 20.02.2019, 22:01
Cyberavater Cyberavater is offline
Junior Loader
 
Join Date: Feb 2019
Posts: 10
Default

Also, I'm very new with all these so forgive my mistakes plz.
Reply With Quote
  #608  
Old 20.02.2019, 22:06
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 423
Default

Quote:
Originally Posted by Cyberavater View Post
Just make it grab proxies from there in every 15 mins.
Sorry. I don't take orders.

Quote:
Originally Posted by Cyberavater View Post
No, I haven't tried it yet. Can U explain a little bit more?
Spoiler:
Reply With Quote
  #609  
Old 20.02.2019, 22:25
Cyberavater Cyberavater is offline
Junior Loader
 
Join Date: Feb 2019
Posts: 10
Default

Quote:
Originally Posted by mgpai View Post
Sorry. I don't take orders.
Umm, I wasn't ordering U I was just suggesting that. Sorry if that sounded like I was ordering U. FYI, I was trying to suggest that if U could make a script that would order JD to grab proxies from there in every 15 mins then U wouldn't have to worry about proxy life.

Quote:
Originally Posted by mgpai View Post
Spoiler:
Yes, I already tried that. But, there I have to put every proxy manually there if not using a script(for which I came here in the first place) for that. I thought there was already something automatic available.

But, Thanks anyway for Ur time.

Last edited by Cyberavater; 20.02.2019 at 22:40.
Reply With Quote
  #610  
Old 20.02.2019, 22:36
Cyberavater Cyberavater is offline
Junior Loader
 
Join Date: Feb 2019
Posts: 10
Default

Quote:
Originally Posted by mgpai View Post
Sorry, I have to decline your request.
Understandable, Anyway thanks for Ur time.
Reply With Quote
  #611  
Old 20.02.2019, 22:47
Cyberavater Cyberavater is offline
Junior Loader
 
Join Date: Feb 2019
Posts: 10
Default

@jiaz Is there anyone else who might help me?

Last edited by Cyberavater; 20.02.2019 at 23:57.
Reply With Quote
  #612  
Old 20.02.2019, 23:26
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 423
Default

Quote:
Originally Posted by pinko View Post
... JD put them in package Various files, because is only one video. I want that JD put these videos into packages with channel name.
Create a packagizer rule which matches the package names of your preferred channels (can just be a partial match).

If the following conditions match....
Code:
Package Name > contains > mychannel1|mychannel2|mychannel3 (Enable Regex)
SourceUrl(s) > contains > youtube
.. then set
Code:
Package Name > <jd:orgpackagename>
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 02:29.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.