projects
/
smooth-dl.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
smooth-dl.py: use more specific exception when looking for the Clip element
[smooth-dl.git]
/
smooth-dl.py
diff --git
a/smooth-dl.py
b/smooth-dl.py
index
9530392
..
85a0d2e
100755
(executable)
--- a/
smooth-dl.py
+++ b/
smooth-dl.py
@@
-136,7
+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"]
- except:
+ except
AttributeError
:
pass
manifest_pattern = re.compile("/manifest$", re.IGNORECASE)