diff --git a/mvw-dl.py b/mvw-dl.py index acfea6a..1e53aff 100644 --- a/mvw-dl.py +++ b/mvw-dl.py @@ -395,6 +395,7 @@ def get_safe_filename( log.debug(f"{shorthand_uuid} Replacing unsafe characters in filename with dashes ...") clean_filename = re.sub(r"""[/\\?%*:|"<>\x7F\x00-\x1F]""", "-", dirty_filename) + log.debug(f"{shorthand_uuid} New filename: '{clean_filename}'") return clean_filename @@ -447,7 +448,6 @@ def get_filename( filename_safe = filename_safe.lower() log.debug(f"{shorthand_uuid} New filename: '{filename_safe}'") - log.debug(f"{shorthand_uuid} {filename_safe}") return filename_safe @@ -620,9 +620,6 @@ def copy_url( else: log_successful_download(section_name, config_obj, show, state_file_abs_path, job_uuid, shorthand_uuid) log.info(f"{shorthand_uuid} Done moving") - except Exception: - console.print_exception(show_locals=True) - log.error(f"{shorthand_uuid} Failed moving file") def get_max_quality_url( @@ -747,8 +744,6 @@ if __name__ == '__main__': if config.has_option(section, "title_not_regex"): json_response = dedup_json_titles(section, config, json_response) - log.debug(f"Downloading {json_response.result.queryInfo.resultCount} " + log.debug(f"Interested in {json_response.result.queryInfo.resultCount} " f"""{p.plural("show", json_response.result.queryInfo.resultCount)} ...""") download_media(section, config, json_response) - - # console.print_json(json_response.json())