From: Antonio Ospite <ao2@ao2.it>
Date: Thu, 14 Jan 2016 17:13:05 +0000 (+0100)
Subject: smmoth-dl.py: if there is a Clip element use its manifest
X-Git-Url: https://git.ao2.it/smooth-dl.git/commitdiff_plain/4988f2a619ef40f4db99fa48962c00f4545a3c1d

smmoth-dl.py: if there is a Clip element use its manifest
---

diff --git a/smooth-dl.py b/smooth-dl.py
index 85a0d2e..e3fa256 100755
--- a/smooth-dl.py
+++ b/smooth-dl.py
@@ -136,6 +136,7 @@ def get_manifest(url, dest_dir=tempfile.gettempdir()):
         # if some intermediate client Manifest is used, like in Rai Replay
         clip = manifest.find("Clip")
         manifest_url = clip.attrib["Url"]
+        manifest = download_file(manifest_url, None, None)
     except AttributeError:
         pass