From c9abdfbac23d3ff2b3804b48083f25f9962d5d0d Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 12 Jun 2014 11:40:23 -0700 Subject: [PATCH] Fixed urls Fixed and replaced urls with proper ones for network timezones, tvdb exceptions and tvrage exceptions. --- sickbeard/indexers/indexer_config.py | 4 ++-- sickbeard/network_timezones.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sickbeard/indexers/indexer_config.py b/sickbeard/indexers/indexer_config.py index af94eb75..eaa38fe6 100644 --- a/sickbeard/indexers/indexer_config.py +++ b/sickbeard/indexers/indexer_config.py @@ -39,13 +39,13 @@ indexerConfig[INDEXER_TVRAGE] = { # TVDB Indexer Settings indexerConfig[INDEXER_TVDB]['xem_origin'] = 'tvdb' indexerConfig[INDEXER_TVDB]['icon'] = 'thetvdb16.png' -indexerConfig[INDEXER_TVDB]['scene_url'] = 'http://midgetspy.github.com/sb_tvdb_scene_exceptions/exceptions.txt' +indexerConfig[INDEXER_TVDB]['scene_url'] = 'http://midgetspy.github.io/sb_tvdb_scene_exceptions/exceptions.txt' indexerConfig[INDEXER_TVDB]['show_url'] = 'http://thetvdb.com/?tab=series&id=' indexerConfig[INDEXER_TVDB]['base_url'] = 'http://thetvdb.com/api/%(apikey)s/series/' % indexerConfig[INDEXER_TVDB]['api_params'] # TVRAGE Indexer Settings indexerConfig[INDEXER_TVRAGE]['xem_origin'] = 'rage' indexerConfig[INDEXER_TVRAGE]['icon'] = 'tvrage16.png' -indexerConfig[INDEXER_TVRAGE]['scene_url'] = 'http://raw.github.com/echel0n/sb_tvrage_scene_exceptions/master/exceptions.txt' +indexerConfig[INDEXER_TVRAGE]['scene_url'] = 'https://raw.githubusercontent.com/echel0n/sb_tvrage_scene_exceptions/master/exceptions.txt' indexerConfig[INDEXER_TVRAGE]['show_url'] = 'http://tvrage.com/shows/id-' indexerConfig[INDEXER_TVRAGE]['base_url'] = 'http://tvrage.com/showinfo.php?key=%(apikey)s&sid=' % indexerConfig[INDEXER_TVRAGE]['api_params'] \ No newline at end of file diff --git a/sickbeard/network_timezones.py b/sickbeard/network_timezones.py index a3d8cc0b..27dec0c9 100644 --- a/sickbeard/network_timezones.py +++ b/sickbeard/network_timezones.py @@ -74,7 +74,7 @@ def _update_zoneinfo(): sb_timezone = tz.tzlocal() # now check if the zoneinfo needs update - url_zv = 'https://github.com/Prinz23/sb_network_timezones/raw/master/zoneinfo.txt' + url_zv = 'https://raw.githubusercontent.com/Prinz23/sb_network_timezones/master/zoneinfo.txt' url_data = helpers.getURL(url_zv) @@ -93,7 +93,7 @@ def _update_zoneinfo(): return # now load the new zoneinfo - url_tar = u'https://github.com/Prinz23/sb_network_timezones/raw/master/' + new_zoneinfo + url_tar = u'https://raw.githubusercontent.com/Prinz23/sb_network_timezones/master/' + new_zoneinfo zonefile = helpers.real_path(ek.ek(join, ek.ek(os.path.dirname, lib.dateutil.zoneinfo.__file__), new_zoneinfo)) zonefile_tmp = re.sub(r"\.tar\.gz$", '.tmp', zonefile) @@ -145,7 +145,7 @@ def update_network_dict(): d = {} # network timezones are stored on github pages - url = 'https://github.com/Prinz23/sb_network_timezones/raw/master/network_timezones.txt' + url = 'https://raw.githubusercontent.com/Prinz23/sb_network_timezones/master/network_timezones.txt' url_data = helpers.getURL(url)