#1
|
|||
|
|||
jd2 knowing where a link came from
at one point in time in the distant past, I think jd2 used to show me in properties where a link it imported came from (i.e. it knew the page). I think I had a reconfiguration that lost it's ability to show that. how do I get it back?
i.e. if I copied a link t **External links are only visible to Support Staff****External links are only visible to Support Staff** on the page **External links are only visible to Support Staff****External links are only visible to Support Staff** it would show in the properties panel that the link was from **External links are only visible to Support Staff****External links are only visible to Support Staff** am I misremembering this feature? |
#2
|
||||
|
||||
Maybe you've added URLs via crawlers back then and now your URLs are different?
Or you did let JD parse URLs from one page? It's hard to tell without the URLs. In general yes, if given, JD will get- and save the "source". -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
I used to just copy it from a browser (don't remember if it was firefox or chrome, now I use chrome) and the copy/paste buffer linkgrabber somehow knew the page it was copied from.
|
#4
|
||||
|
||||
It highyl depends on HOW you add the link
Selection(Selecting the link/s) + normal Copy/CTRL+C is different than rightclick "Copy Link/Copy Location". This information is only available on normal Copy, NOT on "Copy Link" context menu action
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 22.05.2020 at 12:07. |
#5
|
|||
|
|||
I do a normal copy (select and ctrl-c)
|
#6
|
||||
|
||||
Then it should work. No changes on our side.
Did you check rightclick context menu -> properties- > show download urls and then double click into the column because it depends on your settings what URL type is shown by default We can check but need example urls
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
for dlc files I see a file url that is the dlc file it was loaded from in the "Download from" field, but for basically everything else all I see is is the url that it will fetch the file from, not where the link was taken from.
i.e. if it's a rapidgator link, I have a rapidgator url going through my post history (as this question seemed familiar to me, I seem to have asked this years ago, and the answer there doesn't seem to apply anymore as the setting doesn't exist) https://board.jdownloader.org/showthread.php?t=59481 . i.e. no setting for "always show link origin". my jd2 installation is really old. Goes back to at least 2014 (the date of the jre 7 that was installed with it, wondring if that's the java I'm still running with and its not using the system java?) |
#8
|
||||
|
||||
Yes - see Settings --> User Interface --> Downloadlink address display
You can select/deselect or drag'n drop these entries to e.g. influence the URL shown in the "Download from" column and also the data you get when you e.g. do CTRL + C on an entry. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#9
|
||||
|
||||
For DLC files, JDownloader won't reveal the original URL.
__________________
JD-Dev & Server-Admin |
#10
|
|||
|
|||
the order from top to bottom is referrer / source / container / data / custom. that would seem to be what I want.
|
#11
|
|||
|
|||
I assume the way it works is that when you do a ctrl-c copy there's extra metadata that should be there that jd2 parses. Is their anyway for me to manually test this outside of jd2 (in linux) so that I can see if the metadata that jd2 needs is actually associated with the copy buffer data?
|
#12
|
||||
|
||||
You can check tools that can show the content/flavors of the clipboard. I'm sure search engine will come up with such tools cause I don't know any at the moment
__________________
JD-Dev & Server-Admin |
#13
|
|||
|
|||
it appears to be that it doens't work with chrome on linux. using xclip, all I see of mime types available when I do a copy is text/plain.
however, when I do a copy in firefox, I see more i.e. text/html text/_moz_htmlcontext text/_moz_htmlinfo text/plain;charset=utf-8 text/plain text/x-moz-url-priv and text/x-moz-url-priv is what has the url of the source. does this make sense? wonder if its a setting in chrome |
#14
|
||||
|
||||
Nice, thanks for the info about xclip. Yes, JDownloader parses text/x-moz-url-priv but also tries to parse the other ones because they may also contain details about source.
And yes, not every browser puts those flavors into clipboard. On windows JDownloader can parse additional data from clipboard, that's why it may work under windows but not under linux. Can you check if chrome has x-moz-url? I can check this next week. I found a stackoverflow that chrome should support this but no word on what OS.
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 22.05.2020 at 22:45. |
#15
|
|||
|
|||
it didn't seem like it did anything besides text/plain on my machine (i.e. I would have expected text/html (especially on a seletion that includd text and images), but didn't get that either. at least with google chrome on ubuntu (tested both within a vnc session (i.e. where I run jd2 on my server) and on my laptop. I believe Version 81.0.4044.122 (Official Build) (64-bit) per about page.
|
#16
|
||||
|
||||
Quote:
__________________
JD-Dev & Server-Admin |
#17
|
||||
|
||||
Tested with Chrome/Vivaldi, chrome(basis) doesn't put the required flavor into clipboard.
Maybe there are extensions available that can additionally add the flavor, I don't know :( Maybe open a ticket at chrome bugtracker for this
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|