Simple script I created to download YouTube videos

While these types of tools are certainly appreciated, the only real long-term way to replace YouTube is for more people to embrace PeerTube. It’s a wonderful alternative in every way except for one: right now it’s populated almost entirely by right-wing conspiracy theorists. If we got more people there, we could mitigate this and be free of YouTube and YouTube proxies and mirrors forever.

@oriond
109M

I agree, I stopped creating content for Youtube and now I do it for Peertube, at a price, because my instance is most of the time stopping to reload the videos, so when I share my content, it is not the same experience for people. But still, I love Peertube and the concept is amazing.

Dessalines
admin
89M

Peertube, and torrents in general. Creators need to post torrent links, so that peertube instances don’t have to bear all the burden of data storage and transmission. Torrents have solved the data distribution problem, I’m not sure why people aren’t uploading their content to 1337x or wherever.

@jsgohac
6
edit-2
9M

Another issue is that YT has massive bargaining power to deliver copyrighted material, including music.

It would be nice if universities and other organizations started publishing content, as orgs like IREM de Paris have:

Vous pouvez dès maintenant vous abonner à nos chaînes PeerTube (link is external) et retrouver toutes …

Nos chaînes PeerTube Séminaire de l’IREM de Paris (link is external)

https://video.irem.univ-paris-diderot.fr/accounts/irem/video-channels

@emvee381
39M

to be honest, youtube is full of copyrigh violating content, without any chance to report it if you are not owner… youtube is one big thief making money on ilegal content, for example my country created videos in our language created in old studions in past, youtube just cant have rights!

@lps
39M

I couldn’t agree more, Peertube has improved enormously in a short time. For my part, I like to point it out as a viable option to creators especially those who claim to support free and open software (this includes free software projects).

There are already cross-posting scripts to automatically pull YT channels and mirror them on Peertube and depending on the instance there is also the option of simply importing via URL … it copies over tags, and links etc. There’s really no excuse, and more exposure (also the free backup in the case that content gets removed on YT).

I guess the dream, regarding bandwidth, is that more communities self-host their own instances which removes the load on “flagship/catch-all” instances.

Recently I was thinking it would be great if someone put together a site that hosted no content but simply acted as a convenient landing page (hub) for users to search the entire Peertube network for content. Which would solve the discoverability issue that exists right now (similar to a torrent search site). In addition, there could be an option to filter content based on interest so the “garbage” wouldn’t even appear on your public page.

@uiizi
5
edit-2
8M

deleted by creator

@abbenm
119M

I wonder if it would be good to reach out to select youtubers who are interested in FOSS and ask if they are interested in mirroring their work on Peertube.

@uiizi
7
edit-2
8M

deleted by creator

@abbenm
79M

Thanks. I’m a little bit out of the loop these days, but does youtube-dl have to go through the same cycle of being broken, updated, broken, updated etc that indvidious and newpipe have had to deal with? I remember using it nearly 10 years ago, but is it alive & kicking due to constant attention and maintenance from developers?

riccardo
10
edit-2
9M

does youtube-dl have to go through the same cycle of being broken, updated, broken, updated etc that indvidious and newpipe have had to deal with?

Yes

is it alive & kicking due to constant attention and maintenance from developers?

Yes

As you can see from the releases page, it’s still being actively developed and the maintainer often pushes some extraction fixes because of some new Yt stuff that break entirely or partially the page parsing

@ajz
creator
89M

I’m using youtube-dl since a long time, though <disclaimer> not very often, and whenever there was a download problem, I’ve always upgraded to the latest version, and then it worked flawless again. It’s been around since 2008 and seems to be well maintained. Also, the list of sites where it can download files from is impressive. http://ytdl-org.github.io/youtube-dl/supportedsites.html

@Amolith
69M

I think a lot of people are kind of missing the point. PeerTube is obviously the best solution going forward but it’s highly unlikely that all of the channels I watch will ever upload their content to any instance unless it becomes absolutely massive. While cross-posting scripts work well enough, I think the creator should be the one to put their content on PeerTube, not some random individual. They should have control over the publication of the content they created. I also have a very strong dislike for LBRY and don’t consider it to be an alternative.

The point of this process is being able to watch the content wherever and however you like, not with a single specific application or website. If invidious suddenly stops working and the devs aren’t able to patch it quickly, none of the other instances will work. Applications like NewPipe work beautifully but require an internet connection to stream. When the videos are downloaded, you can watch them on any device and with any media player regardless of whether there’s an internet connection. It’s much more flexible.

Dessalines
admin
39M

What I do right now at least for existing youtube channels, is use the youtube_channel_archiver script: it takes a text file that just lists all the channels you want to back up / download. I have that in a cron that runs every hour, and have my jellyfin pointed at its folder. So in my jellyfin feed I see all the new videos for the channels I like.

Any particular reason for disliking LBRY?

@kylejj
7
edit-2
1M

deleted by creator

@tron
2
edit-2
12d

deleted by creator

@oni
29M

Newpipe does not depend on Invidious.

@tron
1
edit-2
12d

deleted by creator

Sam
29M

Freetube is moving away from invidious as we speak.

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

  • Posts must be relevant to the open source ideology
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon from opensource.org

  • 0 users online
  • 19 users / day
  • 64 users / week
  • 133 users / month
  • 436 users / 6 months
  • 3100 subscribers
  • 890 Posts
  • 2629 Comments
  • Modlog