JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 31.10.2020, 12:48
Erik Erik is offline
JD Alpha
 
Join Date: Oct 2020
Location: California, USA
Posts: 22
Default Cannot Apply Specific Option Change On All Selected Items Inside LinkGrabber

Hi,
after selecting & copying (for example) 50 URLs , the JD LinkGrabber grabs them,
& shows list of 50 download folders & each has one file under it , inside LinkGrabber tab,
then i have SELECTED ALL of those 50 folders, with Ctrl+A , or Shift+DnArrow..,
then in bottomside of LinkGrabber tab , changed ("Save to" folder) download-folder
from (for-example) default "/Users/UsrNm/Downloads/<jd:packagename>",
into (for-example) "/Users/UsrNm/Downloads/SF1/"

but JD applying the "SF1" folder only on the last, one, item out of those 50 items ! ! !
:(
please fix.


its not so easy to go thru each of those 50 folders separately , and expand them with [+] then select file, then select down-arrow & select a new destination, etc.



and, i have noticed,
if i remove the <jd:packagename> dynamic-variable word
from the "/Users/UsrNm/Downloads/SF1/<jd:packagename>"
and use only "/Users/UsrNm/Downloads/SF1/" manually for few files,
then JD can download those files directly into the "SF1" folder,
without creating PackageName Sub-Folder,
and that is what i wanted to do:
i want all files downloaded inside a single folder (for-example) "SF1" in my side.


with one time changing a specific-setting , i want to apply/set that specific-setting applied on multiple selected items.


Please fix this bug.
or, please let me know how this problem can be fixed with some changes in config, etc, if possible.


I'm using JD on macOSX Catalina/10.15.7.
JD = JDownloader 2:
its in "/Users/<MyUserName>/bin/JDownlaoder 2.0/"
Build Date: Fri Oct 30 18:56:15 CET 2020
java: Java SE 1.8.0_181 (64bit)
source revision:
core: 43103
launcher: 5094
appwork utilities: 3428
browser: 43008
updater: 925
JSon: Jackson Json processor 2.7.9
Please let me know, if you need any further info from my side.

Last edited by Erik; 01.11.2020 at 04:34. Reason: minor corrections, improved sentences, etc
Reply With Quote
  #2  
Old 02.11.2020, 15:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,993
Default

The properties window at the bottom only shows the current selected link/package.

For mass changes you have to select the link(s)/package(s) and use the actions from rightclick context menu, there you can mass change the download folder.

In case you don't want JDownloader to use subfolders by default, just disable the rule, see https://support.jdownloader.org/Know...ackage-feature
Please know that changes will only affect new added links.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 03.11.2020, 08:49
Erik Erik is offline
JD Alpha
 
Join Date: Oct 2020
Location: California, USA
Posts: 22
Default

Hi Jiaz,

your instruction worked.

After JD grabs copied URLs,
JD's LinkGrabber tab shows 50 folders for those 50 URL/Links,
first i had to expand one folder by clicking on the left-side [+] symbol,
then the file/item inside/under it, is shown,
i pressed Ctrl+A to select all of those 50 folders,
right-clicked on the (expanded) one file/item inside LinkGrabber tab, released click/tap,
options/properties-menu appeared > selected "Properties" > selected "Set Download Directory",
file-browser window appeared,
unselected the option "Subfolder-by-package",
selected my file destination choice folder "SF1" > clicked on "Save" button,
that has set same folder "SF1", on all of those 50 items inside 50 folders,
again right-clicked on the (expanded) one file/item inside "LinkGrabber" tab,
options/properties-menu appeared > selected "Start Downloads",
JD began to go thru ( those 50 ) URLs, and downloaded all files, inside one folder "SF1".
done.

Success.



i have tried to create a packager-rule, that will trigger only when copied URL has specific website-address, and save inside a specific folder "SF1",
but i must have made some mistake in creating the rule,
could not make it work,
i will try again though.

Thank you, again.


EDIT : added picture of a Rule inside "Packager".







i want to use default behavior of JD by default, for preset sites,
just override behavior for one site only, for now : "example.com".
for-example: img files, from "https://example.com/", should be downloaded into "SF1" w/o creating any further subfolder.

after creating the new rule, changed it's priority, move 2 steps higher so that this rule can trigger earlier, before default rules triggers.
Attached Images
File Type: png JD_Packager_tab_Erik 01.png (163.7 KB, 18 views)
File Type: png JD_Rule-in-Packager_Erik-01.png (145.3 KB, 18 views)

Last edited by Erik; 03.11.2020 at 14:02. Reason: mentioned: unselect "subfolder-by-package". added picture(s) pkgr rule.
Reply With Quote
  #4  
Old 03.11.2020, 11:08
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,993
Default

See the 2nd point of my answer to disable auto subfolder via packagizer rule

Your rule should look like this
sourceURL - contains xy.com
then set
package name - SF1
In case you need help, provide example links and maybe a screenshot of your rule

You don't have to select the links all, it's also fine to rightclick on the package which will affect all links within the package
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 03.11.2020, 13:05
Erik Erik is offline
JD Alpha
 
Join Date: Oct 2020
Location: California, USA
Posts: 22
Default

updated previous post with images

ah i now see, my mistakes . thanks.
i will fix & try again.

Quote:
You don't have to select the links all, it's also fine to rightclick on the package which will affect all links within the package
when i right-clicked on "package-name", ( package-name is folder-name, right ? )
then option/properties-menu does not appear !
but if i expand any one of the folder inside LinkGrabber tab, & right-click on any one of the file under that folder,
then Option/Properties-menu appears, & works.



if i want to catch/download only these type of files: zip, rar, tar, dmg, exe, txt, sha1, sha256, md5, txt, asc, sig files from the "example.com" website, then
i should also use regex code in SOURCE URL like this way ?
https://example.com/downloads/.*?\.(?:zip|rar|tar|dmg|exe|txt|sha1|sha256|md5|txt|asc|sig)
or
https://example.com/downloads/*\.(?:zip|rar|tar|dmg|exe|txt|sha1|sha256|md5|txt|asc|sig)

Last edited by Erik; 03.11.2020 at 13:59. Reason: added a question about regex code for detecting specific file types
Reply With Quote
  #6  
Old 03.11.2020, 20:21
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,993
Default

You should use sourceURL to make sure the rule works on the URL as you enter/add it in JDownloader
downloadURL can be different (depending on plugin, site) because JDownloader might modify the internal downloadURL.

Your example rule may look like this
sourceURL - contains
Quote:
https?://example\.com/downloads/.*\.(?:zip|rar|tar|dmg|exe|txt|sha1|sha256|md5|txt|asc|sig)
You can also try out the fileType condition
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 03.11.2020, 20:22
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,993
Default

Quote:
Originally Posted by Erik View Post
when i right-clicked on "package-name", ( package-name is folder-name, right ? )
then option/properties-menu does not appear !
but if i expand any one of the folder inside LinkGrabber tab, & right-click on any one of the file under that folder,
then Option/Properties-menu appears, & works.
yes, package = folder
rightclick context menu exists for packages and links. there is no need to expand the package for rightclick menu to work. Please check/try again
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 05.11.2020, 11:10
Erik Erik is offline
JD Alpha
 
Join Date: Oct 2020
Location: California, USA
Posts: 22
Default

before updating to new JD2 (info is below),
i have tried again,
to see, if right-click on package/folder can bring options/context menu ...
(1) if none of the items inside LinkGrabber tab are selected, then, if i right-click on pkg/folder, then that can bring the options/context menu . but...
(2) if some package or file are/were selected or expanded (only once) or ALL items are/were selected (with Ctrl+A), etc , then after that , if i right-click on any package/folder , that cannot show/bring the options/context menu !
but when..
(3) i expand [+] something, unexpand [-] some/any package, (and/or do Ctrl+A to select all), etc ... only after doing such on any item under package/folder inside LinkGrabber tab first , then if i right-click on a package/folder , only then option/context menu can appear.

so my finding/conclusion is this (at this point) : context menu does not appear initially after adding items in LikGrabber, but once user do something like these : expand/unexpand , or select/unselect, etc ... only then context/options menu can appear from package/folder.




by the way , just updated to your last/below version of JD on macOSX Catalina/10.15.7:

JD = JDownloader 2:
its in "/Users/<MyUserName>/bin/JDownlaoder 2.0/"
Build Date: Wed Nov 04 19:48:04 CET 2020
java: Java SE 1.8.0_181 (64bit)
source revision:
core: 43150.
launcher: 5131.
appwork utilities: 3433.
browser: 43008
updater: 925
JSon: Jackson Json processor 2.7.9
Please let me know, if you need any further info from my side.



i have again tried , in the current last version :
this time, my conclusion is:
(4) context/options menu only appears when right-clicked on a file/item inside/under the package/folder.
(5) context/options menu does not appear on package/folder item , even with expand/unexpand, select/unselect item, etc anything.



but it would have been great to apply destination folder , from context/options menu , after right-clicking on package/folder items inside LinkGrabber tab.



i will get back with package-rule related results, later.
Reply With Quote
  #9  
Old 05.11.2020, 11:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,993
Default

Can you please create a log, sounds like either MacOS issue or unknown problem, see https://support.jdownloader.org/Know...d-session-logs
and post the shown logID.
I cannot reproduce the issue, the rightclick context menu works all the time and that's how it should be
We can also take a look together via Teamviewer, just contact me via support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 06.11.2020, 07:03
Erik Erik is offline
JD Alpha
 
Join Date: Oct 2020
Location: California, USA
Posts: 22
Default

i found my mistake.

i'm always clicking or right-clicking on the package/folder ICON , not on the package/folder NAME/text.

i have this habit, because, often/sometime click/right-click on folder/file name goes into name EDIT MODE.
so to avoid that, i always use click/right-click on the file/folder ICON.


so right-click on package/folder NAME, can bring the context/option menu.
but right-click on package/folder ICON, cannot bring/show the context/option menu.


anyway, that option/context menu should also appear when right-click on ICON too.
Reply With Quote
  #11  
Old 06.11.2020, 16:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,993
Default

Thanks for the followup.
With next update, I've updated the click area and rightclick on filepackage icon will work as well, but NOT on the expand/collapse icon
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 07.11.2020, 03:41
Erik Erik is offline
JD Alpha
 
Join Date: Oct 2020
Location: California, USA
Posts: 22
Default

:) those changes, i think, right & correct changes, and would be very helpful, to not-change generally safer habit/practice.

thanks to you, again.
Reply With Quote
  #13  
Old 09.11.2020, 10:18
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,993
Default

You're welcome
__________________
JD-Dev & Server-Admin
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 05:12.
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.