leogaggl / media Goto Github PK
View Code? Open in Web Editor NEWVarious media related scripts
License: GNU General Public License v2.0
Various media related scripts
License: GNU General Public License v2.0
Hello,
I try to use this script on a Raspberry Pi, but it's unable to locate jq.
Does somebody know how to use this script on Raspberry Pi.
The jq package can be found in wheezy backports.
https://packages.debian.org/wheezy-backports/jq
But why not on the Raspberry Pi?
wget supports a --continue
option such that it stores partial downloads and picks it up on subsequent invocation. This is handy when e.g. the internet connection is not stable or the download should only happen during certain hours during the week etc.pp. Would be great if the script would accept a flag for that.
I just noticed that the ARD seems to have changed their JSON structures. There is no Quality=3 anymore (highest is 2, seems to be former 3) and there are two files in the '.stream' output (not a JSON-pro... I'd call it a dictionary-key). The file you want for highest quality is the second entry. Thus, I changed the default QUALITY to 2 and in the DOWNLOADURL in the last jq-call: '.stream[1]'.
Cheers,
Franz
Hi Leo,
I tried to use your script with "./download_mediathek.sh -f filename.mp4 -q 3 www.ardmediathek.de/tv/Aktueller-Bericht/aktueller-bericht-03-04-2014/SR-Fernsehen/Video?documentId=20580434&bcastId=743232"
This is what I get back:
[1] 2906
work@debian:~$ --2014-09-12 21:25:59-- http://null/
Auflösen des Hostnamen »null (null)«... fehlgeschlagen: Der Name oder der Dienst ist nicht bekannt.
wget: kann die Host-Adresse »null« nicht auflösen
Can you give me hint, whats wrong with my input ?
Kind regards
SAC-01
I tried to download an episode of Babylon Berlin (https://www.ardmediathek.de/ard/player/Y3JpZDovL2Rhc2Vyc3RlLmRlL2JhYnlsb24tYmVybGluLzYwMzk5MTBlLTBhZDAtNDg1Ni04OWRkLWQxODdjZmZiNmMxYw/folge-1), but this doesn't work:
$ ./download_mediathek.sh Y3JpZDovL2Rhc2Vyc3RlLmRlL2JhYnlsb24tYmVybGluLzYwMzk5MTBlLTBhZDAtNDg1Ni04OWRkLWQxODdjZmZiNmMxYw
No DocumentID found in URL.
$ ./download_mediathek.sh "Y3JpZDovL2Rhc2Vyc3RlLmRlL2JhYnlsb24tYmVybGluLzYwMzk5MTBlLTBhZDAtNDg1Ni04OWRkLWQxODdjZmZiNmMxYw/folge-1"
No DocumentID found in URL.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.