Git Product home page Git Product logo

feedload's Introduction

Feedload

Description

Small and simple go application that reads an RSS feed and downloads all episodes starting from the latest one. Rather than many shell or python scripts, this application saves the episodes according to their episode title rather than their file name on the server.

Furthermore, it downloads the episodes in parallel with the aim of learning this programming language go.

Features

  • Starts 8 workers and downloads the files in parallel
  • Progress bar for each worker
  • Total progress bar
  • Native binary

Compiling

  1. Download project
  2. Download dependencies:
    1. go get github.com/mmcdole/gofeed
    2. go get github.com/vbauerster/mpb
    3. go get github.com/asaskevich/govalidator
  3. Build executable go build feedload.go

Running

  • go run feedload.go <RSS_URL> (Without compiling and with golang installed)
  • ./feedload <RSS_URL> (*Nix)
  • feedload <RSS_URL> (Windows)

Example Output

Downloading all episodes from PODCAST_NAME
All 0/339 [-------------------] 0s 0 %
Episode 205: XXXX 1.8MiB/105.1MiB [->-----------------] 1m35s 2 %
Episode 208: XXXX 1.6MiB/106.2MiB [->-----------------] 5s 2 %
Episode 209: XXXX 1.6MiB/105.3MiB [->-----------------] 45s 2 %
Episode 203: XXXX 1.7MiB/109.2MiB [->-----------------] 6s 2 %
Episode 206: XXXX 1.7MiB/111.7MiB [->-----------------] 6s 2 %
Episode 210: XXXX 1.7MiB/124.3MiB [>------------------] 7s 1 %
Episode 204: XXXX 1.3MiB/108.5MiB [>------------------] 9s 1 %
Episode 207: XXXX 1.2MiB/110.0MiB [>------------------] 10s 1 % \

feedload's People

Contributors

games647 avatar

Watchers

 avatar  avatar  avatar

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.