Skip to content

Instantly share code, notes, and snippets.

@revil-O
revil-O / fetchmdr.py
Created May 25, 2018 — forked from christophlsa/fetchmdr.py
Ausführbefehl und encoding
View fetchmdr.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
import urllib.request, re, argparse, math, sys
import xml.etree.ElementTree as ET
from operator import itemgetter
parser = argparse.ArgumentParser(description='Extrahiert die URLs der Dateien eines Videos aus der MDR Mediathek')
parser.add_argument('urls', help='Eine Liste von URLs zu den Videos in der MDR Mediathek', nargs='+')
parser.add_argument('-d', '--download', action='store_true', help='größtes Video herunterladen')
You can’t perform that action at this time.