JDownloader Community - Appwork GmbH
 

Showing results 1 to 50 of 1000
Search took 0.03 seconds.
Search: Posts Made By: mgpai
Forum: JDownloader 2 04.08.2021, 16:06
Replies: 1,807
Views: 537,078
Posted By mgpai
getAllCrawledPackages().forEach(function(package)...

getAllCrawledPackages().forEach(function(package) {
var hosts = [];

package.getDownloadLinks().forEach(function(link) {
var host = link.downloadHost;

if...
Forum: JDownloader 2 04.08.2021, 15:50
Replies: 3
Views: 229
Posted By mgpai
@Jiaz: Links which have been previously online...

@Jiaz: Links which have been previously online and completed (finished + online), but found to be offline (fininshed + offline) during subsequent checks, do not appear as such in the cleanup menu or...
Forum: JDownloader 2 04.08.2021, 14:10
Replies: 10
Views: 108
Posted By mgpai
Replied in the scripts thread.

Replied in the scripts thread.
Forum: JDownloader 2 04.08.2021, 14:09
Replies: 1,807
Views: 537,078
Posted By mgpai
It was/is working after a restart. Had also...

It was/is working after a restart. Had also tested it before posting the script. Related files still seem to be present in the cfg/archives folder after a restart. Can you please check and confirm?
Forum: JDownloader 2 04.08.2021, 13:47
Replies: 10
Views: 108
Posted By mgpai
You can use THIS...

You can use THIS (Link_not_visiblescript to view the extracted files, till the feature is implemented again in JD.
Forum: JDownloader 2 04.08.2021, 13:45
Replies: 1,807
Views: 537,078
Posted By mgpai
/* View extracted files Trigger :...

/*
View extracted files
Trigger : Downloadlist contextmenu button pressed
Customize context menu > Add a new "Eventscripter Trigger" button > Rename it to "View extracted files"
*/
...
Forum: JDownloader 2 03.08.2021, 21:24
Replies: 1,807
Views: 537,078
Posted By mgpai
You are querying crawled packages instead of...

You are querying crawled packages instead of crawled links (I didn't notice it earlier).

Edit: Guess you want to modify the package name after all. You will have to query the download host, but...
Forum: JDownloader 2 03.08.2021, 16:20
Replies: 3
Views: 177
Posted By mgpai
/* Update after reconnect Trigger:...

/*
Update after reconnect
Trigger: After a reconnect
*/

if (
result == "SUCCESSFUL" &&
callAPI("update", "isUpdateAvailable")
) {
callAPI("update", "restartAndUpdate");
Forum: JDownloader 2 03.08.2021, 16:03
Replies: 1,807
Views: 537,078
Posted By mgpai
Change: function(i) to: function(link)

Change:
function(i)
to:
function(link)
Forum: JDownloader 2 26.07.2021, 13:48
Replies: 14
Views: 598
Posted By mgpai
@guardao: If an update is available, the script...

@guardao: If an update is available, the script will automatically update and restart JD when it is idle, without any user interaction. If an update is available on startup, the script will install...
Forum: Host Plugin Reports 25.07.2021, 10:51
Replies: 16
Views: 726
Posted By mgpai
if > Downloadurl > contains >...

if > Downloadurl > contains > imgs*.aventertainments.com//vodimages/screenshot/large/*/*
then set > Filename > screenshot_<jd:hoster:2>_<jd:hoster:3>


Are there always two slashes after domain...
Forum: Problems & Bug Reports 25.07.2021, 10:44
Replies: 8
Views: 888
Posted By mgpai
Related Post...

Related Post (https://board.jdownloader.org/showpost.php?p=473322&postcount=3)
Forum: JDownloader 2 24.07.2021, 19:12
Replies: 1,807
Views: 537,078
Posted By mgpai
Should be working fine: var i = { name:...

Should be working fine:
var i = {
name: "3-31171572ee3982a2fb88bafee6bea0df33a55af07f6b95d442752a3dbb22147e.png"
}

var replace = function(a, b) {
i.name = i.name.replace(a, b);
}
...
Forum: JDownloader 2 24.07.2021, 18:44
Replies: 1,807
Views: 537,078
Posted By mgpai
Split/join can be used when find/replace...

Split/join can be used when find/replace parameters are both strings. Since you are using regex here, you will need to use it as find parameter and, str (static) or capture groups as replace...
Forum: JDownloader 2 24.07.2021, 17:16
Replies: 1,807
Views: 537,078
Posted By mgpai
OK. But, how are you using the regex pattern?...

OK. But, how are you using the regex pattern? You need to use the correct capture groups to replace.

regex101.com/r/qbj3rm/1
Forum: JDownloader 2 24.07.2021, 16:45
Replies: 1,807
Views: 537,078
Posted By mgpai
Works fine. Please post your script OR screenshot...

Works fine. Please post your script OR screenshot of your rename dialog.
Forum: JDownloader 2 24.07.2021, 15:57
Replies: 1,807
Views: 537,078
Posted By mgpai
It seems to be working fine. Please note,...

It seems to be working fine. Please note, completed archives will be extracted only if all packages in the download list are finished.
Forum: JDownloader 2 24.07.2021, 15:10
Replies: 1,807
Views: 537,078
Posted By mgpai
^(\d+)(-[a-z0-9]{64})(\.(?:jpg|png))$

^(\d+)(-[a-z0-9]{64})(\.(?:jpg|png))$
Forum: JDownloader 2 21.07.2021, 13:45
Replies: 1,807
Views: 537,078
Posted By mgpai
Add error handling for links which do not have...

Add error handling for links which do not have container url.

var link = crawledLink;

if (link.availableState == "ONLINE") {
var StartLink = link.getContainerURL();

try {
...
Forum: JDownloader 2 19.07.2021, 19:15
Replies: 1,807
Views: 537,078
Posted By mgpai
Of course. The example was just to demonstrate...

Of course. The example was just to demonstrate how to extract the hostname from url.



Guess so. :)

@BJN01: Related thread (https://board.jdownloader.org/showthread.php?t=83048)
Forum: JDownloader 2 19.07.2021, 10:48
Replies: 1,807
Views: 537,078
Posted By mgpai
var hostname =...

var hostname = link.getContainerURL().match(/:\/\/([^/]+)/)[1];



var myFile = Readfile("path/to/file");
var url = link.contentURL();

if (myFile.indexOf(url) > -1) {
...
Forum: Suggestions & Requests 19.07.2021, 05:28
Replies: 10
Views: 680
Posted By mgpai
While the format may differ, the mht and wget...

While the format may differ, the mht and wget content should be pretty much the same. Can you provide details/examples of what exactly is missing in wget output?



Can help you call such program...
Forum: Problems & Bug Reports 18.07.2021, 20:06
Replies: 3
Views: 251
Posted By mgpai
Possible to append numeric part of the url to the...

Possible to append numeric part of the url to the all packages (not just to those with same title) using packagizer rule.
if > Sourceurl(s) > contains > ://hitomi.la/.+-(\d+).html (Enable regex...
Forum: Suggestions & Requests 17.07.2021, 15:44
Replies: 10
Views: 680
Posted By mgpai
callSync("path/to/wget", "-p", "--convert-links",...

callSync("path/to/wget", "-p", "--convert-links", url);
Forum: JDownloader 2 17.07.2021, 13:54
Replies: 4
Views: 272
Posted By mgpai
You can create packagizer rules to automatically...

You can create packagizer rules to automatically set chunks on per host basis. A context menu setting is also available to set them manually.
Forum: Suggestions & Requests 17.07.2021, 09:19
Replies: 10
Views: 680
Posted By mgpai
@BJN01: Try wget. It is capable of mirroring...

@BJN01: Try wget. It is capable of mirroring remote sites locally. Can also be called from eventscripter.
Forum: JDownloader 2 16.07.2021, 12:02
Replies: 1,807
Views: 537,078
Posted By mgpai
You have used MArrayS in both alert messages....

You have used MArrayS in both alert messages. Same output can be achieved using replace, but you will have do a 'global' replace.

var MArrayS = MArImg.split(",").join("\r\n");
var MArrayR =...
Forum: JDownloader 2 16.07.2021, 01:42
Replies: 1,807
Views: 537,078
Posted By mgpai
The character which is used to split will be...

The character which is used to split will be removed from the string and the resulting (split) values will be returned as an array of strings.

Example:
alert("ABABABA".split("B")); // [ "A", "A",...
Forum: JDownloader 2 15.07.2021, 23:56
Replies: 2
[User feedback required] Subfolders in a package?
Views: 246
Posted By mgpai
It is not possible to have nested packages. Best...

It is not possible to have nested packages. Best option is to use packagizer rules to append the packagename to the file name, and rename the package so that it contains only the model name. That way...
Forum: Suggestions & Requests 15.07.2021, 09:31
Replies: 22
Views: 1,140
Posted By mgpai
I cannot access the forum attachments. You can...

I cannot access the forum attachments. You can find me in JD Chat.
kiwiirc.com/nextclient/irc.libera.chat/#jdownloader
Forum: Suggestions & Requests 15.07.2021, 04:33
Replies: 22
Views: 1,140
Posted By mgpai
Packagizer rule: if > sourceurls(s) > contains...

Packagizer rule:
if > sourceurls(s) > contains > #title=*
then set > filename > <jd:source:1>.<jd:orgfiletype>
Forum: JDownloader 2 14.07.2021, 07:07
Replies: 1,807
Views: 537,078
Posted By mgpai
Yes. I have already mentioned, using both script...

Yes. I have already mentioned, using both script and GUI, JD can save only plain html code and not the assets which are used to render the page.



The extension which you have linked, can only...
Forum: JDownloader 2 13.07.2021, 23:52
Replies: 1,807
Views: 537,078
Posted By mgpai
In this case, "searchquery" is the parameter...

In this case, "searchquery" is the parameter which is defined in the web page. "captcha" is the value which is to be provided by the user. You can only provide the value, not the parameter. For e.g.,...
Forum: Suggestions & Requests 13.07.2021, 23:14
Replies: 22
Views: 1,140
Posted By mgpai
Click on 'details' button. It will open a page...

Click on 'details' button. It will open a page which contains url, title and and other information about the video. Copy it to clipboard. The script (which has to be added to the eventscripter...
Forum: JDownloader 2 13.07.2021, 16:48
Replies: 18
[User feedback required] Help with auto link collecting?
Views: 645
Posted By mgpai
OK. The example link is a direct link and not a...

OK. The example link is a direct link and not a web page link, so I thought it was about intercepting downloads.
Forum: JDownloader 2 13.07.2021, 16:29
Replies: 18
[User feedback required] Help with auto link collecting?
Views: 645
Posted By mgpai
@Jiaz: Most likely it is the extension linked by...

@Jiaz: Most likely it is the extension linked by OP in post #5. While it has the option to intercept downloads (like the example provided in post #10) and send it to external download manager (e.g....
Forum: Suggestions & Requests 13.07.2021, 16:21
Replies: 22
Views: 1,140
Posted By mgpai
/* Build download url from VDH 'details'...

/*
Build download url from VDH 'details' page
Trigger : New crawler job
*/

try {
url = job.text.match(/video\nurl\s\n(.+?)\n/)[1];
title =...
Forum: JDownloader 2 13.07.2021, 05:23
Replies: 6
Views: 408
Posted By mgpai
<jd:append>/<jd:orgpackagename:1>

<jd:append>/<jd:orgpackagename:1>
Forum: JDownloader 2 10.07.2021, 10:28
Replies: 46
[User feedback required] Rapidgator slowdown at 80%
Views: 6,097
Posted By mgpai
Install the Event Scripter extension (Settings >...

Install the Event Scripter extension (Settings > Event Scripter) and add the script to it.
Forum: JDownloader 2 09.07.2021, 17:31
Replies: 6
Views: 408
Posted By mgpai
https://support.jdownloader.org/Knowledgebase/List...

https://support.jdownloader.org/Knowledgebase/List/Index/20/packagizer--paketverwalter
Forum: JDownloader 2 09.07.2021, 16:02
Replies: 1,807
Views: 537,078
Posted By mgpai
The linked post does not contain any additional...

The linked post does not contain any additional information. Please provide example links. You can also PM them.
Forum: Decrypter Plugin Reports 08.07.2021, 17:28
Replies: 15
Views: 1,443
Posted By mgpai
@Rabelux: Plugin setting is definitely the best...

@Rabelux: Plugin setting is definitely the best option. You method can also be implemented quite easily. Let me know if you need any help with the script.
Forum: JDownloader 2 08.07.2021, 16:27
Replies: 14
Views: 598
Posted By mgpai
@guardao: Seems to be working fine (same core...

@guardao: Seems to be working fine (same core revision). Are you getting any errors?

P.S.: @Jiaz was faster. ;)
Forum: Wünsche 08.07.2021, 13:53
Replies: 13
Views: 637
Posted By mgpai
I have recommended that in the other thread...

I have recommended that in the other thread (Link_not_visiblewhere the files were not on disk. Here, since the files are on disk and OP also wants to extract...
Forum: Decrypter Plugin Reports 08.07.2021, 13:45
Replies: 15
Views: 1,443
Posted By mgpai
Thanks Jiaz. Yet to get "cutcaptcha" during tests...

Thanks Jiaz. Yet to get "cutcaptcha" during tests though. :)
Forum: Wünsche 08.07.2021, 12:56
Replies: 13
Views: 637
Posted By mgpai
@Jiaz: Eventhough though the files cannot be...

@Jiaz: Eventhough though the files cannot be downloaded, users might like to keep it on the list and mark them as finished for future reference. For e.g. to avoid duplicate downloads when the plugin...
Forum: JDownloader 2 06.07.2021, 02:49
Replies: 1,807
Views: 537,078
Posted By mgpai
You can also use eventscripter to add the content...

You can also use eventscripter to add the content of a file.
/*
Add file content
Trigger : A download stopped
*/

if (
link.finished &&
link.name == "DwLinkphp.tmp"
) {
Forum: JDownloader 2 05.07.2021, 19:16
Replies: 1,807
Views: 537,078
Posted By mgpai
In that case, you will have to use two scripts. ...

In that case, you will have to use two scripts.

/*
Preview files
Trigger: Linkgrabber contextmenu button pressed
*/

if (name == "Preview files") {
var types = ["php", "txt"];
Forum: Decrypter Plugin Reports 05.07.2021, 13:55
Replies: 15
Views: 1,443
Posted By mgpai
There are no properties to query if the captcha...

There are no properties to query if the captcha challenge is compatible, but that may not be necessary in this particular case since the same can be determined by the file name of the link in...
Forum: Decrypter Plugin Reports 05.07.2021, 12:15
Replies: 15
Views: 1,443
Posted By mgpai
@Rabelux: Instead of removing/re-adding the links...

@Rabelux: Instead of removing/re-adding the links manually, you can use a script to read/remove the failed links and add them back using linkgrabber 'addLinks' method.
Showing results 1 to 50 of 1000

 
Forum Jump
All times are GMT +2. The time now is 02:25.
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 - 2021, Jelsoft Enterprises Ltd.