Skip to content

Instantly share code, notes, and snippets.

http://miot-spec.org/miot-spec-v2/instances?status=all
http://miot-spec.org/miot-spec-v2/instances?status=debug
http://miot-spec.org/miot-spec-v2/instances?status=released
and for example air purifier 3 cn (zhimi.airpurifier.ma4)
https://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:air-purifier:0000A007:zhimi-ma4:1
http://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:light:0000A001:philips-bulb:1
http://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:fan:0000A005:zhimi-sa1:1
@revil-O
revil-O / fetchmdr.py
Created May 25, 2018 06:42 — forked from christophlsa/fetchmdr.py
Ausführbefehl und encoding
#!/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')