JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 13.07.2018, 13:24
avada avada is offline
Linkgrabbing Monster
 
Join Date: Dec 2010
Posts: 83
Default [Instagram] How to have the files named to preserve the order they appear on the page

Hi!

Can I do this?
Currently the images are random. The latest images is somewhere near the middle for example
Reply With Quote
  #2  
Old 13.07.2018, 19:06
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Please provide example links, then we can check/add option for it
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 13.07.2018, 19:06
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 13.07.2018, 19:16
avada avada is offline
Linkgrabbing Monster
 
Join Date: Dec 2010
Posts: 83
Default

Quote:
Originally Posted by Jiaz View Post
Please provide example links, then we can check/add option for it
I'm quite sure it's all of them, but for example: **External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #5  
Old 26.10.2018, 15:47
avada avada is offline
Linkgrabbing Monster
 
Join Date: Dec 2010
Posts: 83
Default

Meanwhile, is there some workaround. For example an uploaded date variable I can use in filenaming, or something similar?
Reply With Quote
  #6  
Old 21.01.2020, 01:46
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

You can get the "order id" via packagizer property "orderid":
Code:
<jd:prop:orderid>
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #7  
Old 10.02.2020, 10:55
avada avada is offline
Linkgrabbing Monster
 
Join Date: Dec 2010
Posts: 83
Default

Quote:
Originally Posted by pspzockerscene View Post
You can get the "order id" via packagizer property "orderid":
Code:
<jd:prop:orderid>
-psp-
Not sure how that should work. And I can't test it because the instagram plugin seems to be broken.
No link grabbing occurs whether I drag/drop an account's url or whether I add it in the "annalist and add links" window.

Also, if I drop one of thumbnails on JD I get 10 fbcdn links for whatever reason, 9 of which are broken and the tenth is only the thumbnail, not the full size, resolution image.
Reply With Quote
  #8  
Old 10.02.2020, 14:57
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

@avada
Your post is pretty confusing and does not contain any information required to help you.

Regarding usage of the packagizer:
Use the search function and search our board for "packagizer" and you will find a lot of examples.
Also, without knowing exactly how you'd like your filenames to look like, I cannot even help you by providing an example packagizer rule.

Regarding your other issues:
Without test URLs, I'am unable to help you.

Also:

Please post your log-ID here | bitte poste deine Log-ID hier.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #9  
Old 05.04.2020, 14:52
avada avada is offline
Linkgrabbing Monster
 
Join Date: Dec 2010
Posts: 83
Default

Quote:
Originally Posted by pspzockerscene View Post
@avada
Your post is pretty confusing and does not contain any information required to help you.

Regarding usage of the packagizer:
Use the search function and search our board for "packagizer" and you will find a lot of examples.
Also, without knowing exactly how you'd like your filenames to look like, I cannot even help you by providing an example packagizer rule.

Regarding your other issues:
Without test URLs, I'am unable to help you.

Also:

Please post **External links are only visible to Support Staff**... | bitte poste **External links are only visible to Support Staff**....

-psp-
I plainly want the filenames to have a prefix based on the order they were uploaded. Preferably date/time, but a simple counter number would work.
Since now the instagram plugin works I can test. But "<jd:prop:orderid>" seems to be doing nothing whatsoever, adds nothing to the filename string.
By the way: is there a good list of environment variables that are useable?

What result do you expect? Do you have an example for it?

Quote:
Originally Posted by pspzockerscene View Post
Regarding your other issues:
Without test URLs, I'am unable to help you..

-psp-
Not one URL worked, but it seems fixed now.
Reply With Quote
  #10  
Old 05.04.2020, 18:48
avada avada is offline
Linkgrabbing Monster
 
Join Date: Dec 2010
Posts: 83
Default

How do I unsolve this? This was never solved.
Reply With Quote
  #11  
Old 06.04.2020, 15:38
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Quote:
Originally Posted by avada View Post
How do I unsolve this? This was never solved.
You've never provided the example URLs I asked for --> URLs which you try to download and detailed examples of how the filenames are now and how you want them to look like.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #12  
Old 07.04.2020, 21:30
avada avada is offline
Linkgrabbing Monster
 
Join Date: Dec 2010
Posts: 83
Default

Quote:
Originally Posted by pspzockerscene View Post
You've never provided the example URLs I asked for --> URLs which you try to download and detailed examples of how the filenames are now and how you want them to look like.

-psp-
What examples? All of the instagram accounts isn't enough? Or the URL I provided earlier?

I wrote multiple times what I want and what I get. I got nothing useful beside the default naming. (Adding the current date via the packagizer is not useful... And it can be used for little else.)
Reply With Quote
  #13  
Old 08.04.2020, 13:53
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Sorry - the "orderid" property is not given for Instagram URLs.
Use "date" instead.
Here is an example packagizer rule which will put the release/postdate of all objects to the beginning of the filenames:


-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #14  
Old 08.04.2020, 15:27
avada avada is offline
Linkgrabbing Monster
 
Join Date: Dec 2010
Posts: 83
Default

That adds the current date for all files, not their upload date/time, so not really useful for this. Thanks for trying anyway.
Can you remove the "solved" tag at least. Maybe someone might up with some sort of a workaround.
Reply With Quote
  #15  
Old 08.04.2020, 15:29
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Quote:
Originally Posted by avada View Post
That adds the current date for all files, not their upload date/time, so not really useful for this.
No you are wrong!

"date" is a property which the instagram plugin sets and you can use.

You would be right if I had written "<jd:simpledate:dd.MM.yyyy>" instead ...

If you still get the wrong results when doing exactly what I've told you to do here, please post example URLs (yes, I want example URLs!) and a log.

Please post your log-ID here | bitte poste deine Log-ID hier.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #16  
Old 08.04.2020, 19:51
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Here is an example of how it looks just using that packagizer rule after crawling some content of a popular profile:


As you can see this is clearly NOT the date of today - it is not random either.
This is the "upload-date".

And no, we did not release updates today so all of this did already work when I posted last time

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #17  
Old 08.04.2020, 20:20
avada avada is offline
Linkgrabbing Monster
 
Join Date: Dec 2010
Posts: 83
Default

Quote:
Originally Posted by pspzockerscene View Post
No you are wrong!

"date" is a property which the instagram plugin sets and you can use.

You would be right if I had written "<jd:simpledate:dd.MM.yyyy>" instead ...

If you still get the wrong results when doing exactly what I've told you to do here, please post example URLs (yes, I want example URLs!) and a log.

Please post **External links are only visible to Support Staff**... | bitte poste **External links are only visible to Support Staff**....

-psp-
Whoops. You're right. Probably a copy/paste fail. Thanks.
Is there a time property, or date-time? To further enchance this. (Or a list somewhere, where I can check what variables are available.)
Reply With Quote
  #18  
Old 09.04.2020, 11:25
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Quote:
Originally Posted by avada View Post
Is there a time property, or date-time? To further enchance this. (Or a list somewhere, where I can check what variables are available.)
No - this is a static string which I set in our crawler - there is no way to change this or get the exact time.
I could add another property if wanted but to answer your questions more precise:
- No there is no list of properties
- You cannot format properties set on items by individual plugins (yet)
- Different plugins can have different properties set
- There are tickets regarding all previous mentioned points in our bugtracker but they're already several years old

The only thing you could do to e.g. further modify filenames based on such properties is e.g. using an EventScripter Script.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #19  
Old 09.04.2020, 11:36
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

best place to check available variables is in the download log for that specific host, on the start of dl its shown within printout, link/properties/download candidate used (premium account/free account/free), etc
but there is no standard in what names get used, in the past it was only for internal use, and now the package customiser access is really work around to give end users access to said data, vs formatting it into some standardised name/storable framework
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #20  
Old 05.05.2021, 00:11
goldensun87 goldensun87 is offline
Giga Loader
 
Join Date: Feb 2012
Posts: 90
Default

Is there an option in the Packagizer to place each file's upload date immediately after the username? For example, "*username*_*date* - *post url*" ?
Reply With Quote
  #21  
Old 05.05.2021, 13:30
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Sure, it is up to you how you want to customize filenames.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #22  
Old 05.05.2021, 15:07
goldensun87 goldensun87 is offline
Giga Loader
 
Join Date: Feb 2012
Posts: 90
Default

Quote:
Originally Posted by pspzockerscene View Post
Sure, it is up to you how you want to customize filenames.

-psp-
Right, but I cannot figure out exactly how to do that. How can I bring up a full list of dynamic variables for the Packagizer rules? Also, can the properties of each variable be edited?
Reply With Quote
  #23  
Old 05.05.2021, 15:55
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Quote:
Originally Posted by goldensun87 View Post
Is there an option in the Packagizer to place each file's upload date immediately after the username?
Yes.
I've updated our Packagizer knowledgebase article accordingly.
See "Dynamic variables and plugin specific properties".
Here is a Packagizer rule that would modify instagram filenames accordingly for you.
Screenshot:


Please keep in mind that these modifications will only apply to new items added after creating that Packagizer rule!

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?

Last edited by pspzockerscene; 05.05.2021 at 15:55. Reason: Added missing Packagizer knowledgebase article URL
Reply With Quote
  #24  
Old 05.05.2021, 17:18
goldensun87 goldensun87 is offline
Giga Loader
 
Join Date: Feb 2012
Posts: 90
Default

Thank you so much for those variables! For years, I lamented the fact that I could not fetch the upload date of the pics and videos I have been downloading from Instagram. Now, not only can I do that, I have set it to create the filename exactly the way I want it.
Reply With Quote
  #25  
Old 05.05.2021, 17:26
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Well then have fun with that
I'm glad I was able to help!

Regarding the other current Instagram crawler issues:
Please keep the reports in this thread.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?

Last edited by pspzockerscene; 05.05.2021 at 17:32.
Reply With Quote
  #26  
Old 08.05.2021, 18:08
avada avada is offline
Linkgrabbing Monster
 
Join Date: Dec 2010
Posts: 83
Default

Quote:
Originally Posted by raztoki View Post
best place to check available variables is in the download log for that specific host, on the start of dl its shown within printout, link/properties/download candidate used (premium account/free account/free), etc
but there is no standard in what names get used, in the past it was only for internal use, and now the package customiser access is really work around to give end users access to said data, vs formatting it into some standardised name/storable framework
Seen where? Where do I find this "download log"?

By the way I see just now that my rule for instagram disappeared. Was the packagizer updated or something?
Reply With Quote
  #27  
Old 08.05.2021, 18:15
avada avada is offline
Linkgrabbing Monster
 
Join Date: Dec 2010
Posts: 83
Default

By the way whay can't the tooltip show all valid variables, or some help button.
I would think that printing out the variables a the packagizer already includes would be a simple task.
Reply With Quote
  #28  
Old 08.05.2021, 22:43
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

@avada: updates don't change any settings or remove rules
and we do have plans to show tooltip with all available/known variables/properties depending on the plugin
__________________
JD-Dev & Server-Admin
Reply With Quote
  #29  
Old 07.01.2023, 04:19
az09 az09 is offline
Modem User
 
Join Date: Jan 2023
Posts: 1
Arrow Instagram’s internal filename

Hi
I changed select file name type for all crawler media items to server filenames
Because I prefer the original file name But I was surprised by the difference in the name of the original file
Note that the original file name ends with (_n)
I'll give you some examples on **External links are only visible to Support Staff****External links are only visible to Support Staff**
story highlights and story and profile
Spoiler:

Spoiler:

Spoiler:


This is a mistake I don't want it like this.

704A6D358B24D80407DCB038DE0929B6_video_dashinit.mp4

FF4F1DAA39C07D031C8B3CCB25AA3487_video_dashinit.mp4

I want it like this original filename
10000000_2725821614216739_9164980287235820462_n.mp4

Please fix it for me please
Attached Images
File Type: png Untitled1.png (172.9 KB, 6 views)
File Type: png Untitled2.png (177.4 KB, 6 views)
File Type: png Untitled3.png (158.4 KB, 6 views)
Reply With Quote
  #30  
Old 09.01.2023, 19:49
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Hi again az09,
I don't see any problems here.
Yes I see that server filenames of video items look different than names of images but still they seem to be correct.
Example:
Code:
instagram.com/stories/highlights/17963432093158738/
-> Example direct URL:
Code:
scontent-fra5-2.cdninstagram.com/o1/v/t16/f1/m78/9C446CA7DAC578BE0000E9B3B514F0A3_video_dashinit.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InZ0c192b2RfdXJsZ2VuLjcyMC5zdG9yeS5iYXNlbGluZSJ9&_nc_ht=scontent-fra5-2.cdninstagram.com&_nc_cat=106&vs=677852577338624_1926012824&_nc_vs=HBksFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyLzlDNDQ2Q0E3REFDNTc4QkUwMDAwRTlCM0I1MTRGMEEzX3ZpZGVvX2Rhc2hpbml0Lm1wNBUAAsgB
ABUAGCRHQ3EwX1JLajVpeWo2NEVBQU1DOGdOMlo3V1k0YnBSMUFBQUYVAgLIAQAoABgAGwGIB3VzZV9vaWwBMRUAACbQyP%2Btk5vyPxUCKAJDMywXQBPdLxqfvncYEmRhc2hfYmFzZWxpbmVfMV92MREAdegHAA%3D%3D&_nc_rid=03cd525353&ccb=9-4&oh=00_AfCVu0AX5bxWJT0J4N_n4s9iBFuMoblNCzIHVefjyWxeLg&oe=63BDC96E&_nc_sid=276363
Resulting filename:
Code:
9C446CA7DAC578BE0000E9B3B514F0A3_video_dashinit.mp4
...so yeah that's the name inside that URL.
Which one would you prefer instead and where/how should JD find it?
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
Old 18.05.2023, 19:28
arshi
Message deleted by raztoki. Reason: spam
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 21:13.
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.