mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
10.7k stars 881 forks source link

[Erome] Upload Date #5796

Open SandyRodgers-2017 opened 4 days ago

SandyRodgers-2017 commented 4 days ago

While erome doesn't show upload date on the website in a easily viewable manner. The website does have the date cataloged. It is usually either in the thumbnail jpg or in the jpg for pictures. The format looks something like this: https://###.erome.com/2793/Og1WWd3K/thumbs/uF9U8at4.jpg?v=1719472317 With this last numerals being the upload date. If you are familiar with programming you will recognize it as epoch time. I have tested it over the months and it seems consistent and it is definitely accurate. Could someone add this as a way to tell the time of uploads. Thank you.

mikf commented 3 days ago

Should generally be available now (51fdfbe6fc49ea045d39dfe2b7b490c817d4a2fe), though some posts don't appear to have such a timestamp value, like this one for example.

SandyRodgers-2017 commented 3 days ago

Should generally be available now (51fdfbe), though some posts don't appear to have such a timestamp value, like this one for example.

Thank you didn't expect this to be done so fast. Now for the above example, it does just not in the place that you would think. instead of going to the video. You need to go to the user profile and find the thumbnail image for that video. From there you can get the timestamp. One of the good things is that both thumbnail images have almost exactly the same url but the one on the profile page has ?v={epochtime}. So in theory you could search for a thumbnail url that mostly matches and use that timestamp. However, this would require a way to search through pages and mass download profile urls. The other good thing is that this would only need to be done with posts that are video only. Any post with images would work the above method that you have already made. Here is the one for that video:

https://s86.erome.com/21/NQgdlWvk/j7jlzmYB.jpg?v=1690278417 It matches the thumbnail image that you find in the video as well https://s86.erome.com/21/NQgdlWvk/j7jlzmYB.jpg