JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #521  
Old 28.10.2018, 16:37
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,495
Default

Quote:
Originally Posted by DaDealer View Post
... script thats blocked the refresh of the share-online limit of the premium accounts during the account is in use ...
It is not possible (AFAIK) to prevent accounts from refreshing using a scirpt. It is however possible to refresh/enable/disable accounts using various coniditions/events with a script. It is also possible to write traffic, timestamp and other details to a text file, if it helps in anyway to troubleshoot.

Let me know if any of these can help you with your problem. Feel free to suggest any solution of your own.
Reply With Quote
  #522  
Old 28.10.2018, 21:21
dpinbsp
Guest
 
Posts: n/a
Default

hi mgpai,

i'm looking for a script that continues all skipped files every x mins. you already wrote something when there's no accout. can you please re-write that for all skipped files that have been skipped due to wrong / no captcha-input?

Quote:
// Unskip 'account missing' links at user specified interval
// Trigger Required : "Interval"
// Set interval to 3600000 (60 minutes)

var links = getAllDownloadLinks();

for (i = 0; i < links.length; i++) {
var link = links[i];
if (link.isSkipped() && link.getSkippedReason() == "NO_ACCOUNT") {
link.setSkipped(false);
}
}
greets,
dpinbsp
Reply With Quote
  #523  
Old 29.10.2018, 06:48
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,495
Default

Quote:
Originally Posted by dpinbsp View Post
... script that continues all skipped files every x mins ... that have been skipped due to wrong / no captcha-input?
Code:
github.com/mgpai/resources/blob/master/jdownloader/eventscripter/scripts/dpinbsp.js
Reply With Quote
  #524  
Old 29.10.2018, 18:58
dpinbsp
Guest
 
Posts: n/a
Default

wow, that was fast
thank you very much, mgpai.
Reply With Quote
  #525  
Old 31.10.2018, 15:50
dpinbsp
Guest
 
Posts: n/a
Default

hi mgpai, the script works like a charm -thanks again

can you please add a line in the script: when it unskips a link and the queue processing ended already (for example because it was the last file in the queue), it should start queue processing again ( = the play button at the left top corner).
Reply With Quote
  #526  
Old 31.10.2018, 16:28
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,495
Default

Quote:
Originally Posted by dpinbsp View Post
... when it unskips a link and the queue processing ended already ... it should start queue processing again ...
Script Updated:
Code:
github.com/mgpai/resources/blob/master/jdownloader/eventscripter/scripts/dpinbsp.js
Reply With Quote
  #527  
Old 31.10.2018, 22:13
Statter Statter is offline
JD Legend
 
Join Date: Aug 2010
Posts: 541
Default

Sorry, I searched and was wondering as I didn't find a reference easily and it may have been posted elsewhere.

The question is: as to where one would place the various scripts within JD. I know one can add them via the Event scripter under advanced but, when downloading the .JS scripts supplied at mgpai's github, Can we create a folder within for the scripts we wish to add or is that just not feasable?

The same question of course applies to the other items at that site such as rules .json, filters .filter, rules .packagizer, etc.

On a MAC OS version so it would apply to all versions of course as to where we can put the files as their updated within JD.

Hope that made sense and I may be missing some important info on all of the possibilities

Maybe a sticky would be good on how to wiht the various files for the various link_crawler, linkgrabber_filter, packagizer and eventscripter files - scripts, rules, etc

TIA
__________________
OS X !0.6.8 Mac Pro Intel (Workhorse)
OS X 10.13.6 MBP Intel 17" (Secondary)
OS X MBP Intel 15" Dual boot 10.6.8 and 10.13.6 (as needed)
Reply With Quote
  #528  
Old 01.11.2018, 07:55
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,495
Default

The contents of the file should be added to JD by pasting or importing, depending on the type of extension/setting.

Eventscripter [.js]
  • Paste the contents of the file in script editor (Settings > Eventscripter).
  • Follow instructions specified in the script.
Linkcrawler [.json]
  • Paste the contents of the file in settings. (Settings > Advanced Settings > LinkCrawler.linkcrawlerrules)
  • Enable Checkbox (Settings > Advanced Settings > LinkCrawler.linkcrawlerrulesenabled)
Linkgrabber Filter [.filter]
  • Save file to disk and import it. (Settings > Linkgrabber Filter > Filter Tab > Import)
Linkgrabber Filter [.views]
  • Save file to disk and import it. (Settings > Linkgrabber Filter > Views Tab > Import)
Packagizer [.packagizer]
  • Save file to disk and import it. (Settings > Packagizer > Import)
Reply With Quote
  #529  
Old 02.11.2018, 21:03
Statter Statter is offline
JD Legend
 
Join Date: Aug 2010
Posts: 541
Default

Thanks mgpai, much appreciated.

Nice to know some can be imported while others still need to use the Settings and copy and paste implementation.
__________________
OS X !0.6.8 Mac Pro Intel (Workhorse)
OS X 10.13.6 MBP Intel 17" (Secondary)
OS X MBP Intel 15" Dual boot 10.6.8 and 10.13.6 (as needed)
Reply With Quote
  #530  
Old 11.11.2018, 15:12
DaDealer's Avatar
DaDealer DaDealer is offline
JD Adviser
 
Join Date: Oct 2017
Posts: 112
Default

hi,
is there any script that remove .rev from the linkcollector. By Standard it will only disable it.
Reply With Quote
  #531  
Old 11.11.2018, 15:43
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,495
Default

Quote:
Originally Posted by DaDealer View Post
... is there any script that remove .rev from the linkcollector. By Standard it will only disable it.
Create Linkgrabber Filter rule and prevent them from being added to the list. If for any reason you prefer to add them to the list first and then remove them, I can provide a script.
Reply With Quote
  #532  
Old 11.11.2018, 16:18
DaDealer's Avatar
DaDealer DaDealer is offline
JD Adviser
 
Join Date: Oct 2017
Posts: 112
Default

Quote:
Originally Posted by mgpai View Post
Create Linkgrabber Filter rule and prevent them from being added to the list. If for any reason you prefer to add them to the list first and then remove them, I can provide a script.
thank you. i didn't see it by myself.
Reply With Quote
  #533  
Old 17.11.2018, 01:05
rinnetensei
Guest
 
Posts: n/a
Default

Hello mgpai. I'm looking for a script that will append tags/catergories from adult video page to its download file name. Take this link as an example : pornhub[dot]com/view_video.php?viewkey=1135728191 . If you go to the page you can see its catergory :Big Ass, Blonde, Teen, School, HD . So I want to automatically modify its name to :
NICE BLONDE GIRL - [Big Ass, Blonde, Teen, School, HD]

Hope you can help me with this. Thanks in advance.
Reply With Quote
  #534  
Old 17.11.2018, 08:47
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,495
Default

Quote:
Originally Posted by rinnetensei View Post
... script that will append tags/catergories to file name ...
Cannot access the url from eventscripter. PH is repsonding with "301 Moved Permanently" message. Please wait for Jiaz to add support for it in the plugin, as mentioned in post #432398.

Alternatively, you can use "Create Link" (Chrome) or "Make Link" (FF) extension to append the category to the url and parse it using packagizer rule.
Reply With Quote
  #535  
Old 20.11.2018, 15:43
madcat madcat is offline
Junior Loader
 
Join Date: Jun 2017
Posts: 10
Default Export to CSV file

Hi mgpai, I would like to know if it possible to output the downloaded completed files to CSV using event scripter?

My aim is to track files whether if it has been downloaded, extracted and
etc.. via excel spreadsheet.
Reply With Quote
  #536  
Old 27.11.2018, 09:54
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,495
Default

Quote:
Originally Posted by madcat View Post
Hi mgpai, I would like to know if it possible to output the downloaded completed files to CSV using event scripter?

My aim is to track files whether if it has been downloaded, extracted and
etc.. via excel spreadsheet.
It is possible. There must already some script in this thread, which can export data in text format. If the format suits you, you can just change the extension of the output file in the script to csv.

If you need help modifying it or are looking for something entirely different, provide more details here or contact me in JD Chat.
Reply With Quote
  #537  
Old 28.11.2018, 08:23
madcat madcat is offline
Junior Loader
 
Join Date: Jun 2017
Posts: 10
Default

Quote:
Originally Posted by mgpai View Post
It is possible. There must already some script in this thread, which can export data in text format. If the format suits you, you can just change the extension of the output file in the script to csv.

If you need help modifying it or are looking for something entirely different, provide more details here or contact me in JD Chat.
Hi, I had a look, I couldn't find the similar script in this thread. When is the best time to come contact you in JD Chat?
Reply With Quote
  #538  
Old 28.11.2018, 08:44
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,495
Default

Quote:
Originally Posted by madcat View Post
Hi, I had a look, I couldn't find the similar script in this thread. When is the best time to come contact you in JD Chat?
I am currently available in chat room. You can contact me there.
Reply With Quote
  #539  
Old 01.12.2018, 14:08
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,495
Default

Quote:
Originally Posted by rinnetensei View Post
Hello mgpai. I'm looking for a script that will append tags/catergories from adult video page to its download file name.
Might be possible to get categories using an external program. But, just like in eventscripter, I am getting an error in that too. If you are interested in testing it at your end, join me in JD Chat when you are free.
Reply With Quote
  #540  
Old 23.12.2018, 10:50
chaostheory
Guest
 
Posts: n/a
Default

hello mgpai,
can you help? I'm looking for a script that checks online status, every 15 seconds, for parts that were marked "file not found".
And on top of that - if downloads are not running - then start downloads.
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 14:03.
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 - 2023, Jelsoft Enterprises Ltd.