diff --git a/ytmusicapi/parsers/browsing.py b/ytmusicapi/parsers/browsing.py index 92d69633..5a8dd6ac 100644 --- a/ytmusicapi/parsers/browsing.py +++ b/ytmusicapi/parsers/browsing.py @@ -59,7 +59,7 @@ def parse_search_results(self, results, resultType=None): search_result['title'] = get_item_text(data, 0) search_result['type'] = get_item_text(data, 1) search_result['artist'] = get_item_text(data, 1, 2) - search_result['year'] = get_item_text(data, 1, 4) + search_result['year'] = get_item_text(data, 1, 4, True) elif resultType in ['playlist']: search_result['title'] = get_item_text(data, 0)