JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 02.10.2017, 12:50
prepametan
Guest
 
Posts: n/a
Default Deviantart image download links

it's time to ask. can i get image download url using Event Scripter + Packagizer.
mgpai tried to help but wihout success for images. which is the Event Scripter command that can show me download link for images (i know for gallery).
so, can i use that combination to get TXT files with all downloaded files and if can how?

Last edited by raztoki; 10.01.2018 at 02:51. Reason: revert of message
Reply With Quote
  #2  
Old 02.10.2017, 13:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default

What exactly was the problem? You can use Eventscripter and setup script to run after download has finished to write out the url.
Can you show what script he gave/made you?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 02.10.2017, 13:50
prepametan
Guest
 
Posts: n/a
Default

we just tried:
alert(link.getSourceUrls());
and
alert(link.getSourceUrls().join("\r\n"));

that get me dialog with download link for gallery but i still don't know nothing about EvenScripter and i need some way to get all images link after JD finish download. in best way, i just want images link which JD prepare to download.

Last edited by raztoki; 10.01.2018 at 02:51. Reason: revert of message
Reply With Quote
  #4  
Old 02.10.2017, 14:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default

getSourceURLs contains the urls that lead to the final link.
Use .getContentURL() to fetch contentURL if set or getUrl()
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 02.10.2017, 17:42
prepametan
Guest
 
Posts: n/a
Default

ouch, i said that i dont know syntax for EventScripter and i get error:
getContentURL" is not defined

can you give me that 2 line command here? and, even that works how or can i make to get TXT files with all links, that's original question.

Last edited by raztoki; 10.01.2018 at 02:54. Reason: revert of message
Reply With Quote
  #6  
Old 02.10.2017, 17:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default

Quote:
Originally Posted by prepametan View Post
can you give me that 2 line command here? and, even that works how or can i make to get TXT files with all links, that's original question.
Ask mgpai for help he is very talented with the eventscripter!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 02.10.2017, 17:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default

That is the method instead of getSourceUrls use the methods I gave you
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 02.10.2017, 20:52
prepametan
Guest
 
Posts: n/a
Default

asked him, he told me proper syntax, i tried and sitll didn't get IMAGE download url. just two alert with gallety page link. anybody KNOW which is the command for IMAGE download url?

Last edited by raztoki; 10.01.2018 at 02:55. Reason: revert of message
Reply With Quote
  #9  
Old 04.10.2017, 09:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default

Can you show me which script you've tried?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 04.10.2017, 10:27
prepametan
Guest
 
Posts: n/a
Default

**External links are only visible to Support Staff**... but he just told me proper syntax

alert(link.getContentURL());
alert(link.getUrl());

Last edited by raztoki; 10.01.2018 at 02:55. Reason: revert of message
Reply With Quote
  #11  
Old 04.10.2017, 10:53
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default

Those are correct. So what is wrong about them?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 04.10.2017, 11:05
prepametan
Guest
 
Posts: n/a
Default

good morning
please, oh please read my request again... i need IMAGE link not GALLERY link so i ask command for that

Last edited by raztoki; 10.01.2018 at 02:55. Reason: revert of message
Reply With Quote
  #13  
Old 04.10.2017, 11:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default

Can you please provide example links?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 04.10.2017, 13:04
prepametan
Guest
 
Posts: n/a
Default

mate, you don't need my links. you still don't get it? JD with EventScripter can give me GALLERY link with example whitch you and mgpai give but i want (again!) IMAGE link from gallery html page.
your example give me GALLERY
**External links are only visible to Support Staff****External links are only visible to Support Staff**
and i want command for IMAGE
**External links are only visible to Support Staff****External links are only visible to Support Staff**

was i finally clear?

Last edited by raztoki; 10.01.2018 at 02:56. Reason: revert of message
Reply With Quote
  #15  
Old 04.10.2017, 13:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default

I'm sorry but JDownloader does not reveal the internal download link. Those links may expire/require session/tokens/may be post/form requests....
What do you need this for when I may ask?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #16  
Old 04.10.2017, 13:53
prepametan
Guest
 
Posts: n/a
Default

oh, ok then although i don't understand it completely. i know for token problem but JD prepare link and i can start that download tomorrow and JD still download that image? how if token change link???

huh, long story, sorry... i'm on Mac and love apple philosophy for using Metadata info for storing original URL. in start i used AppleScript (for loop and search) to call UNIX curl. then find link and download one by one (becouse token problem). but it's a lot slower. that's why i thought to use JD info for that and if JD (with some EventSript command or packagizer) can make TXT files with links i will use that and download that images with much faster download program and always have download url link saved in Metadata (Where from). but...

Last edited by raztoki; 10.01.2018 at 02:56. Reason: revert of message
Reply With Quote
  #17  
Old 04.10.2017, 14:00
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default

JDownloader has plugins that will process website to find the final download/image/xy url and then download the content. some plugins cache the final url and auto retry/refresh if required. But those urls are not accessable outside plugin/JDownloader.

Why not simply download via JDownloader? You want to embed meta data into image?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #18  
Old 04.10.2017, 15:12
prepametan
Guest
 
Posts: n/a
Default

yes, "embed" in Metadata becouse deviant artist sometimes delete your images from gallery but leave them on site. you can't see/find them except that you have original url and in most cases (becouse before i start to use JD i download with my script). i can copy that info in Spotlight comments or delete using terminal

p.s. it's good time for all to switch on MacOS see how look MacOS Finder Info window

Last edited by raztoki; 10.01.2018 at 02:57. Reason: revert of message
Reply With Quote
  #19  
Old 04.10.2017, 16:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default


But I wonder what sense it makes to embed the download url into the downloaded image.
In case you've deleted the image, the embedded meta data also will be gone ?!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #20  
Old 04.10.2017, 19:39
prepametan
Guest
 
Posts: n/a
Default

did you even see my image? file sistem metadata not (for example) EXIF. that's not same but i can read EXIF and put data in TXT file with apple script. or put that data in Spotlight comment, whatever. just see what is **External links are only visible to Support Staff**File System Metadata Attribute

i know that most users still use m$ winos and don't even know for advantage of using Metadata. plus, JD is Java app and as far as i know it's hard to implement that in Java app. that's why i didn't try to ask for specific Apple versions with that option. i can and know (although i have to learn new language) how to program and i thought that it could be done using JD data. but ok if can't. i can live without image link when i have great 'html-name' new option.

Last edited by raztoki; 10.01.2018 at 02:58. Reason: revert of message
Reply With Quote
  #21  
Old 04.10.2017, 19:43
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default

It makes more sense in adding generic exif support, because it works for all os, than just macos metadata support
__________________
JD-Dev & Server-Admin
Reply With Quote
  #22  
Old 04.10.2017, 23:05
prepametan
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
It makes more sense in adding generic exif support, because it works for all os, than just macos metadata support
jealous? that's inverse logic becouse you don't have that in your m$ OS. but, really i don't know for some EXIF tool app who has an option to export metadata as plain txt (or whatever file). even he accidentally can, i must pay for that. MacOs finder solution is FREE and works great. ok if you make EXIF option but i think that's too much hustle for half solution. don't bother with that. forbidden sign in "html-name" is still bigger problem...

Last edited by raztoki; 10.01.2018 at 02:58. Reason: revert of message
Reply With Quote
  #23  
Old 05.10.2017, 12:26
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default

Quote:
Originally Posted by prepametan View Post
forbidden sign in "html-name" is still bigger problem...
What *forbidden sign* problem do you mean? Can you provide example links/logs?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #24  
Old 16.12.2017, 20:19
prepametan
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
It makes more sense in adding generic exif support, because it works for all os, than just macos metadata support
i totally forgot about this topic but tumblr activated me... again, tumblr but the question is the same...

Jiaz, forgot on EXIT solution, that will change picture size and that is not good solution for deviant

today i DL big tumblr gallery and JD didn't DL lots of picture (from first attempt as "Temporarily unavabiable"). ok, i click on Reset and JD DL that files but just with tumblr generic name. when quit JD and start again JD download as usually. so, don't do it Rename! still, i don't mind, just report issue.

in meantime i realized what i need in first place. JD have command Change url and i can see ORIGINAL FILE URL!!! becouse JD can't (or Java or never mind who) can't support MacOS Metadata info can JD save all that DL links in one txt file when finish download?

Last edited by raztoki; 10.01.2018 at 03:01. Reason: revert of message
Reply With Quote
  #25  
Old 05.10.2017, 12:26
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,218
Default

I'm not jealous. I'm not even using windows But as far as I know modern OS can easily handle exif metadata.
sno.phy.queensu.ca/~phil/exiftool/ is for all os and can read/write meta for free.
I don't see exif the *half solution* because it works independent from os.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #26  
Old 05.10.2017, 14:40
prepametan
Guest
 
Posts: n/a
Default

you know, from another topic for mac & win forbidden character using new DA plugin option for 'html-name'

. (dot) for Mac at the beginning of the name
: (colon)
< (less than)
> (greater than)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)

Last edited by raztoki; 10.01.2018 at 02:59. Reason: revert of message
Reply With Quote
  #27  
Old 05.10.2017, 17:23
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,674
Default

. is not a forbidden character though, its a hidden character.
as covered before its a unix file system functionality which macosx is built ontop of.

forbidden characters for memory are handled by the core.

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #28  
Old 05.10.2017, 19:21
prepametan
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by raztoki View Post
. is not a forbidden character though, its a hidden character.
c'mon, really? you are absolute sure for your statement? dot is hidden with reason! just see Finder report after trying using dot as first character and i said that in my message above. dot is FORBIDDEN as FIRST character in name. ok, i still can manyally check and rename dot but check colon in some large gallery is ridiculous. so, files with DOT will be download but hidden and i can find them and rename but files with COLON will not be saved becouse system don't allow that. clear?

Finder dot report
Finder colon report

Last edited by raztoki; 10.01.2018 at 03:00. Reason: revert of message
Reply With Quote
  #29  
Old 15.10.2017, 04:01
prepametan
Guest
 
Posts: n/a
Default

moved

Last edited by raztoki; 10.01.2018 at 03:01. Reason: revert of message
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: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 - 2024, Jelsoft Enterprises Ltd.