Re:Self hosted YouTube media server – Tube Archivist
by CrampusDestrus on Sunday July 16, 2023 @07:27AM
(#36745764)
You can embed both the thumbnail and the description of a video with ytdl, if you use the appropriate containers
Re:Self hosted YouTube media server – Tube Archivist
by tjfl on Sunday July 16, 2023 @09:08AM
(#36746592)
I didn't know this, neat! Going to try this out:
https://www.reddit.com/r/youtubedl/comments/mcvgmr/download_...
Re:Self hosted YouTube media server – Tube Archivist
by submeta on Sunday July 16, 2023 @07:47AM
(#36745915)
Check this code fragment:
youtube_details = {
"youtube_id": vid_id,
"channel_name": vid["channel"],
"vid_thumb_url": vid["thumbnail"],
"title": vid["title"],
"channel_id": vid["channel_id"],
"duration": duration_str,
"published": published,
"timestamp": int(datetime.now().timestamp()),
# Pulling enum value out so it is serializable
"vid_type": vid_type.value,
}
Re:Self hosted YouTube media server – Tube Archivist
by brettwilcox on Sunday July 16, 2023 @09:47AM
(#36746947)
You should also check out https://archivebox.io/
Re:Self hosted YouTube media server – Tube Archivist
by moritzruth on Sunday July 16, 2023 @10:18AM
(#36747279)
It saves all the things you mentioned plus the number of views and likes.
Re:Self hosted YouTube media server – Tube Archivist
by abracadaniel on Sunday July 16, 2023 @11:00AM
(#36747738)
I’ve been using the ytdl-sub docker container for managing automated download of channels and importing them into Plex
https://github.com/jmbannon/ytdl-sub
Currently I use yt-dlp to manually download individual videos that I want to keep. At the moment I only save the video itself. And most of the time I then also paste the URL of the video into archive.is save page and web.archive.org/save so that there is a snapshot of what the video page itself looked like at the time. But this is still incomplete, and relies on those services continuing to exist. Locally saving a snapshot of the page like that, and then also saving the thumbnail and perhaps more of the comments would be nice.