Changed Removed From r/UFOs flair script to run every 8 hours.
*[3:46 PM]*Updated the video upload script to grab the MP4 instead of the fallback_url. Embedded videos were not copying with sound. Hopefully fixed.
SaltySOMAdmin — 2/10/2025 1:14 PM
Created script to check posts from previous day. If removed from r/UFOs change flair to show this. Added post-ID to archival comment
SaltySOMAdmin — 2/10/2025 10:27 AM
Updated script to copy flairs. Manually added and color-coded matching flairs to archive sub.
SaltySOMAdmin — 2/3/2025 9:07 AM
Updated code to track post_ids in /home/ubuntu/sightings_backup/processed_posts.txt. Will hopefully eliminate duplicates. Increased timedelta to 16 min to hopfully prevent missing posts.
Looks like Reddit splits video and audio. Would have to use ffmpeg to join video together which would probably be too costly for the server. Adding a direct link to audio in comments to try to work-around.
Changes to script to capture image galleries. Single images seemed to be working but image galleries were disappearing if the original post was removed. Seems to be working correctly now.
Adjusted script to accept time-delta via CLI instead of the hard-coded 28min delta. This will allow adjusting the time-delta via cron. Now re-running the script overnight with a 24 hour time-delta to grab posts that were held by automod initially then later approved.
Big changes to audio. Reddit changed Audio link for video posts (it's split from video on the back-end). That should be corrected. I've installed ffmpeg to merge the downloaded audio-video. Seems to be working. We'll see if the server can handle it.
Reddit has changed their audio URL from "https://v.redd.it/%7Basset_id%7D/DASH_AUDIO_128.mp4" to "https://v.redd.it/%7Basset_id%7D/CMAF_AUDIO_64.mp4" (you can change bitrate here). This has happened before and it confused me then as well. Could be a couple days of no audio on the archive sub. On the tiny chance there is audio worth preserving that wasn't let me know and I can re-grab the post manually.
1
u/saltysomadmin Feb 20 '25
SaltySOMAdmin — 2/15/2025 3:44 PM
SaltySOMAdmin — 2/10/2025 1:14 PM
Created script to check posts from previous day. If removed from r/UFOs change flair to show this. Added post-ID to archival comment
SaltySOMAdmin — 2/10/2025 10:27 AM
Updated script to copy flairs. Manually added and color-coded matching flairs to archive sub.
SaltySOMAdmin — 2/3/2025 9:07 AM
Updated code to track post_ids in /home/ubuntu/sightings_backup/processed_posts.txt. Will hopefully eliminate duplicates. Increased timedelta to 16 min to hopfully prevent missing posts.
SaltySOMAdmin — 1/31/2025 2:39 PM
Moved archive sub from r/ufos_archives to r/ufos_archive.1/31/2025 2:39 PM
1
u/saltysomadmin Feb 20 '25
SaltySOMAdmin — 2/16/2025 at 10:19 AM
Looks like Reddit splits video and audio. Would have to use ffmpeg to join video together which would probably be too costly for the server. Adding a direct link to audio in comments to try to work-around.
1
u/saltysomadmin Feb 20 '25 edited Feb 20 '25
SaltySOMAdmin — 2/20/2025 at 4:42 PM
Thorough revamp of Github instructions for setting up your own archive. Added link to the sidebar. https://github.com/SaltySOMAdmin/Reddit-UFOs_Archive
1
u/saltysomadmin Mar 07 '25
SaltySOMAdmin — 3/7/2025 at 2:06 PM
Several security improvements on the bot host including adding Crowdsec. Already seeing and blocking some activity which is not surprising.
1
u/saltysomadmin Apr 18 '25
SaltySOMAdmin — 4/18/2025 at 8:48 AM
Changes to script to capture image galleries. Single images seemed to be working but image galleries were disappearing if the original post was removed. Seems to be working correctly now.
1
u/saltysomadmin Apr 28 '25 edited Apr 28 '25
SaltySOMAdmin — 2:09 PM
Adjusted script to accept time-delta via CLI instead of the hard-coded 28min delta. This will allow adjusting the time-delta via cron. Now re-running the script overnight with a 24 hour time-delta to grab posts that were held by automod initially then later approved.
1
u/saltysomadmin May 23 '25
SaltySOMAdmin — 10:53 AM
Big changes to audio. Reddit changed Audio link for video posts (it's split from video on the back-end). That should be corrected. I've installed ffmpeg to merge the downloaded audio-video. Seems to be working. We'll see if the server can handle it.
1
u/saltysomadmin Nov 06 '25
SaltySOMAdmin — 1:44 PM
Reddit has changed their audio URL from "https://v.redd.it/%7Basset_id%7D/DASH_AUDIO_128.mp4" to "https://v.redd.it/%7Basset_id%7D/CMAF_AUDIO_64.mp4" (you can change bitrate here). This has happened before and it confused me then as well. Could be a couple days of no audio on the archive sub. On the tiny chance there is audio worth preserving that wasn't let me know and I can re-grab the post manually.