diff --git a/CHANGES.md b/CHANGES.md index 0cb6be20..3054d73b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -59,6 +59,7 @@ * Add 5 decades of 'IMDb Popular' selections to 'View' drop down on 'Add from... Browse Shows' * Add 'Other Services' to 'View' drop down on 'Add from... Browse Shows' * Add enable, disable and delete public IMDb watchlists to Config/General/Interface with a default 'SickGear' list +* Change ensure English data from IMDb * Change prevent duplicate show ids from presenting items on 'Add from... Browse Shows' * Change add 'nocache' kwarg to helpers.getURL to facilitate non-cached requests * Change instantly use saved value from Search Settings/Episode Search/"Check propers every" instead of after a restart diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index 348bd710..5fd38cd3 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -2755,7 +2755,7 @@ class NewHomeAddShows(Home): url_data = '/_ajax?sort=date_added,desc&mode=detail&page=1&title_type=tvSeries%2CtvEpisode&ref_=wl_vm_dtl' url_ui = '?mode=detail&page=1&sort=date_added,desc&title_type=tvSeries%2CtvEpisode&ref_=wl_ref_typ' - html = helpers.getURL(url + url_data) + html = helpers.getURL(url + url_data, headers={'Accept-Language': 'en-US'}) if html: show_list_found = self.parse_imdb_html(html, filtered, kwargs) kwargs.update(dict(start_year=start_year)) @@ -2789,7 +2789,7 @@ class NewHomeAddShows(Home): mode = 'popular-%s,%s' % (start_year, end_year) url = 'http://www.imdb.com/search/title?at=0&sort=moviemeter&title_type=tv_series&year=%s,%s' % (start_year, end_year) - html = helpers.getURL(url) + html = helpers.getURL(url, headers={'Accept-Language': 'en-US'}) if html: self.parse_imdb_html(html, filtered, kwargs) kwargs.update(dict(mode=mode, periods=periods))