projects
/
smooth-dl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7df1a64
)
smmoth-dl.py: if there is a Clip element use its manifest
author
Antonio Ospite <ao2@ao2.it>
Thu, 14 Jan 2016 17:13:05 +0000
(18:13 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Thu, 14 Jan 2016 17:13:05 +0000
(18:13 +0100)
smooth-dl.py
patch
|
blob
|
history
diff --git
a/smooth-dl.py
b/smooth-dl.py
index
85a0d2e
..
e3fa256
100755
(executable)
--- 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"]
# 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
except AttributeError:
pass