Git Product home page Git Product logo

batch-podcast-archiver's Introduction

In Our Time Downloader

This script parses all the .rss files in a specified directory then attempts to download the enclosed media file to another specified directory. Right now, this works out of the box for the podcast In Our Time.

Here's some known shortcomings:

  • A better system would query remote RSS feeds. That way, you wouldn't need to have static files and the feed would be the most recent everytime your run it.
  • Several options should be handled as command line arguments, not hard-coded variables.
  • The script assumes the enclosed media is an mp3, which is fine for this podcast. It may not be fine for other podcasts.
  • When the script checks to see if a file exists, that's all it does. It doesn't check to see if the file is complete.

Potential improvements, which I will get around to if I need to cache another show:

  • Allow user to specify output directory in the command line.
  • Allow user to specify an rss feed url in the command line.
  • Allow a user to specify a file with a list of rss feed urls in the command line.
  • Detect the format of the enclosed file being downloaded and adjust accordingly.
  • Truly detect if the file has been downloaded already, not just that a file with the right name exists.

Good luck!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.