mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-18 16:53:38 +00:00
Merge branch 'feature/FixDateTimeRefactor' into dev
This commit is contained in:
commit
01e57daa9b
1 changed files with 1 additions and 1 deletions
|
@ -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()})
|
||||
|
|
Loading…
Reference in a new issue