JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 20.11.2023, 02:07
heinrichb heinrichb is offline
I will play nice!
 
Join Date: Sep 2022
Posts: 7
Default Reddit.com - Download GIFs as MP4

Hey JD-Community,

for Reddit posts that contain a GIF JD is currently only able to download the "video" as a GIF with a quite enormous file size.

On Reddit itself you can click the video and select download which will download the GIF as an MP4. Note, this already works for videos that are uploaded to Reddit as MP4. I'm talkign about videos that are uploaded as GIFs.

An example: **External links are only visible to Support Staff****External links are only visible to Support Staff**

I'm wondering if it is technically possible for JD to download GIFs as MP4 or if the API somehow blocks this?

Cheers
Reply With Quote
  #2  
Old 20.11.2023, 18:16
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,789
Default

Quote:
Originally Posted by heinrichb View Post
for Reddit posts that contain a GIF JD is currently only able to download the "video" as a GIF with a quite enormous file size.
This is what the reddit API is proposing as maim link e.g.:
reddit.com/r/gifs/comments/17tj49i/mirror_mirror/
-->
reddit.com/comments/17tj49i/.json
-->
i.redd.it/oqjt0c10twzb1.gif

The item you mean looks to be one of the "preview" items e.g.:
preview.redd.it/oqjt0c10twzb1.gif?format=mp4&8a4b086d
I could add an extra setting to optionally grab this / all preview items in all available formats if that would help you.

Quote:
Originally Posted by heinrichb View Post
On Reddit itself you can click the video and select download which will download the GIF as an MP4.
The reddit website does not propose any download button for me. Are you using any extra browser addons or an unofficial reddit client/frontend?

Quote:
Originally Posted by heinrichb View Post
I'm wondering if it is technically possible for JD to download GIFs as MP4 or if the API somehow blocks this?
It is technically possible - the API does not block/hide the .mp4 "preview" version.
__________________
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
  #3  
Old 23.11.2023, 01:34
heinrichb heinrichb is offline
I will play nice!
 
Join Date: Sep 2022
Posts: 7
Default

Quote:
Originally Posted by pspzockerscene View Post
The reddit website does not propose any download button for me. Are you using any extra browser addons or an unofficial reddit client/frontend?
What I meant is, if I right click the GIF, then there is button "Show All Controls", which adds a three-dot menu. From there I can click Download, which downloads the MP4. I'm just using Chrome, not sure if it is something specific to Chrome.


Quote:
Originally Posted by pspzockerscene View Post
The item you mean looks to be one of the "preview" items e.g.:
preview.redd.it/oqjt0c10twzb1.gif?format=mp4&8a4b086d
I could add an extra setting to optionally grab this / all preview items in all available formats if that would help you.
Oh, ok, I didn't realize I'm actually downloading the Preview that way.

I think it would be great if we can have such a setting! I'm not sure how useful it would be to always download all Previews in all formats tho. Maybe some form of customisation? I.e. A setting "Replace X with Y Preview if available", and then users could choose X=GIF and Y=MP4?
Reply With Quote
  #4  
Old 16.12.2023, 03:06
heinrichb heinrichb is offline
I will play nice!
 
Join Date: Sep 2022
Posts: 7
Default

Hey,
any further input I can provide that will help with this?
Reply With Quote
  #5  
Old 19.12.2023, 21:35
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,789
Default

I still can't see that download button on the reddit website.

Either way:
Sorry it looks like for some reason I've missed your previous post.
I can't push updates with new plugin settings components at this moment so for now I've updated the crawler to add all possible formats.
Depending on what the original format is, only one / the other format will be added as preview file.
Example:
Original format is .gif -> .mp4 preview will be added.

For now you will need to use the linkgrabber filters/views to remove what you do not want.

Wartest du auf einen angekündigten Bugfix oder ein neues Feature?
Updates werden nicht immer sofort bereitgestellt!
Bitte lies unser Update FAQ! | Please read our Update FAQ!

---
Are you waiting for recently announced changes to get released?
Updates to not necessarily get released immediately!
Bitte lies unser Update FAQ! | Please read our Update FAQ!


-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; 19.12.2023 at 21:43. Reason: Fixed typo
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 15:18.
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.