diff --git a/tubesync/sync/utils.py b/tubesync/sync/utils.py index 2f9e6593..791bfe6d 100644 --- a/tubesync/sync/utils.py +++ b/tubesync/sync/utils.py @@ -282,12 +282,18 @@ def filter_response(arg_dict, copy_arg=False): ) ) - for key in frozenset(('subtitles', 'automatic_captions',)): + for key in frozenset(('subtitles', 'requested_subtitles', 'automatic_captions',)): if key in response_dict.keys(): key_dict = response_dict[key] for lang_code in key_dict: _drop_url_keys(key_dict, lang_code, drop_subtitles_url) # end of subtitles cleanup }}} + + # beginning of heatmap cleanup {{{ + for key in frozenset(('heatmap',)): + if key in response_dict.keys(): + del response_dict[key] + # end of heatmap cleanup }}} return response_dict