X-Git-Url: https://git.ao2.it/smooth-dl.git/blobdiff_plain/0ea324ce10ef16ea1a781a8d473fafd1646d9596..4988f2a619ef40f4db99fa48962c00f4545a3c1d:/smooth-dl.py diff --git a/smooth-dl.py b/smooth-dl.py index 9530392..e3fa256 100755 --- a/smooth-dl.py +++ b/smooth-dl.py @@ -136,7 +136,8 @@ 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: + manifest = download_file(manifest_url, None, None) + except AttributeError: pass manifest_pattern = re.compile("/manifest$", re.IGNORECASE)