Closed Nowena closed 11 months ago
I think this is expected for JSON because it references only the thumbnail and not the actual video (it's gifv
by the way, not gif
). HTML references both, so it should download both.
Does the HTML format fetch the image files separately like JSON does and am I able to parse/search within HTML exports?
If you enable "download assets", it will download all assets referenced by the export file (i.e., the html
file). Note that the purpose of "download assets" is to make the export file usable offline, not to scrape the channel off all multimedia content.
Does DiscordChatExporter-frontend allow you to explore HTML files? If not, could that be made possible?
That's a different project, so you should ask there. But I imagine it only uses JSON for a reason.
Oh, right. It is not by you. I noticed something about .gif exports. Tenor offers both SD/HD .gifs and .mp4 files. DiscordChatExporter fetches the mp4 files for some reason and exports them. Any way to make it fetch .gif files instead?
No, it's what Discord provides so that's what DCE references:
Is it possible to make the JSON export fetch the .mp4 urls too?
It might increase the export size significantly without benefit for most users. If you want to scrape media files from a server, using DCE might not be the best choice. What is your use case?
I mean, speaking about links, it would make more sense to scrape the .mp4 link instead of the .png for Tenor gifs in JSON export since it's more faithful to what is actually shown in the message itself.
If it shows the .mp4 for Giphy in JSON export, I think it should do the same for Tenor
What i wanted to ask more specifically, is that if it's possible to JSON export .mp4 links for both Tenor and Giphy
Version
2.40.4
Flavor
GUI (Graphical User Interface), CLI (Command-Line Interface)
Platform
Windows 10
Export format
JSON
Steps to reproduce
Either method I use, GUI or CLI exports all gifs from tenor/otherwise as png files.
Details
Is this expected behaviour?
Checklist