Need to be able to abstract away from direct IP, as people's IP addresses change with DHCP.Youtube-dl does have a flag for downloading ads too.Add more CLI args (download location, storage location).In this case, disabling Flask is very easy, and so using a seperate static file hosting would be easy. This initially feels perhaps like an odd choice (it did to me), but the de-coupling allows each module to behave independently, and specifically for this example, allows users to remove videos from their download list (to save Youtube-dl from having to check them), while still generating an RSS feed that includes these older episodes.Īnother perfect example of the advantage of de-coupling is if the user has their own hosting server that is not Flask. Instead, TubeCast asks Youtube-dl to download the video info to JSON, which the RSS generator then loads in and reads to populate it's entry info. This data could be passed straight through the the RSS feed generator. There are areas where the program could probably be a lot more efficient or clean, but at the cost of this modularity.įor example, the Youtube-dl api does allow one to access the video description easily in Python. TubeCast has been built in a very modular way, so that the three main sections (Youtube, feed generation, file hosting) are distinctly separate. Update: This program is clearly in violation of the YouTube terms of service, as I assume youtube-dl must be also. I would recommend you look to see if the creator you're TubeCasting has a Patreon, or similar, to support them. While perhaps naive, the intent is to be able to consume their content in a more convienient way for those who either get motion-sickness on public transport, or can't afford the data costs of mobile YouTube. This program no way intends to stop content creators receiving payment via ads (or whatever). *"Limited to podcasting" is a misnomer, because podcasts are great! Important Note Then you can consume the media you want when you can! So long as your computer and phone are on the same network, there will be no data usage. You can use any podcast app on your phone (with all its bells-and-whistles) to copy the audio or videos from your computer. TubeCast allows you to download YouTube videos onto your local computer, and then host them as a podcast RSS feed. Or, you can't afford the data costs, since the YouTube app won't cache videos. ![]() The problem: you get motion-sickness, so you're limited to podcasting*. You would like to, but the only time you really have is on the way to work on a bus or train. Sometimes you don't have time to sit down and watch a long YouTube video of a movie review or talk. Convert a YouTube channel into a local RSS source for a podcast app to pickup.
0 Comments
Leave a Reply. |