Create getmedia.py

Version with docopt added.