Giter Site home page Giter Site logo

ruv_downloader's Introduction

ruv_downloader

About

Hugbúnaður til að sjálfvirkt búa til öryggisafrit af þáttum á rúv og save-ar sem mp4 Ath: Ennþá mjög hrátt, ekkert error handling t.d

Install

Á linux/wsl:

  • Install ffmpeg however you want to
  • git clone [email protected]:gbit-is/ruv_downloader.git
  • cd ruv_downloader
  • python3 -m venv ./venv
  • source venv/bin/activate
  • pip install requests
  • pip install m3u8_To_MP4

Á windows: ..... nota wsl bara ?

How to use

./ruv_downloader.py list
Skilar lista af ID's á þáttum og nafni þáttana

./ruv_downloader.py auto les config.ini skjalið, lúppar gegnum configured þætti, athugar hvort það sé búið að downloada þeim og downloadar þeim ef ekki

-- config.ini skjalið

downloaderinn les [autodownload] kaflann, þar býrðu til "objects" og merkir þau sem True ef þú vilt downloada þeim (getur sett í False eða hvaða annan streng sem er til þess að disable-a það download án þess að eyða skilgreiningunni

fyrir hvert object í [autodownload] kaflanum gerirðu nýjan kafla, sem vísar í show_id (tekið úr ./ruv_downloader.py list) og hvar á að save-a skjölin.

held að config.ini_example sé nokkuð solid

Stuff sem ég bæti kannski við, ef ég nenni

.... eða eins og sumir kalla "to do"

  • Ekki nota file.exists til að ákveða hvort skjal skuli vera downloadað eða ekki, það er núþegar persistant kvs í forritinu, nota það svo það sé hægt að rename-a skjöl án þess að enda með multiples
  • hafa eitthvað error handling
  • gera basic search function fyrir þætti
  • breyta path handling úr string cat yfir í os.path.join functions

Credits:

Hefði aldrei nennt að henda þessu saman ef ég hefði ekki haft hinn fínt kommentaða kóða ruvsarpur eftir sverrirs til að renna yfir og byggja API köllin á

ruv_downloader's People

Contributors

gbit-is 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.