diff --git a/sickgear/webserve.py b/sickgear/webserve.py index 79f10a12..8adb8d97 100644 --- a/sickgear/webserve.py +++ b/sickgear/webserve.py @@ -5033,7 +5033,7 @@ class AddShows(Home): filtered = [] import browser_ua - this_year = datetime.datetime.today().strftime('%Y') + this_year = dt_date.today().strftime('%Y') url = f'https://www.metacritic.com/browse/tv{url_path}' \ f'?releaseYearMin={this_year}&releaseYearMax={this_year}{page}' html = helpers.get_url(url, headers={'User-Agent': browser_ua.get_ua()})