#!/usr/bin/env python from ..common import * def theplatform_download_by_pid(pid, title, output_dir='.', merge=True, info_only=False): smil_url = "http://link.theplatform.com/s/dJ5BDC/%s/meta.smil?format=smil&mbr=true" % pid smil = get_content(smil_url) smil_base = unescape_html(match1(smil, r'