diff --git a/src/NzbDrone.Core/Download/UsenetClientBase.cs b/src/NzbDrone.Core/Download/UsenetClientBase.cs index 0b8357cd4..414fe66d3 100644 --- a/src/NzbDrone.Core/Download/UsenetClientBase.cs +++ b/src/NzbDrone.Core/Download/UsenetClientBase.cs @@ -47,12 +47,6 @@ namespace NzbDrone.Core.Download var request = indexer.GetDownloadRequest(url); request.RateLimitKey = remoteBook?.Release?.IndexerId.ToString(); - // TODO: Look into moving download request handling to indexer - if (remoteBook.Release.BasicAuthString.IsNotNullOrWhiteSpace()) - { - request.Headers.Set("Authorization", "Basic " + remoteBook.Release.BasicAuthString); - } - nzbData = _httpClient.Get(request).ResponseData; _logger.Debug("Downloaded nzb for release '{0}' finished ({1} bytes from {2})", remoteBook.Release.Title, nzbData.Length, url); diff --git a/src/NzbDrone.Core/Indexers/RssParser.cs b/src/NzbDrone.Core/Indexers/RssParser.cs index 49d2ef782..02d982fdf 100644 --- a/src/NzbDrone.Core/Indexers/RssParser.cs +++ b/src/NzbDrone.Core/Indexers/RssParser.cs @@ -156,7 +156,6 @@ namespace NzbDrone.Core.Indexers releaseInfo.Title = GetTitle(item); releaseInfo.PublishDate = GetPublishDate(item); releaseInfo.DownloadUrl = GetDownloadUrl(item); - releaseInfo.BasicAuthString = GetBasicAuth(); releaseInfo.InfoUrl = GetInfoUrl(item); releaseInfo.CommentUrl = GetCommentUrl(item); releaseInfo.Categories = GetCategories(item); @@ -200,11 +199,6 @@ namespace NzbDrone.Core.Indexers return XElementExtensions.ParseDate(dateString); } - protected virtual string GetBasicAuth() - { - return null; - } - protected virtual string GetDownloadUrl(XElement item) { if (UseEnclosureUrl) diff --git a/src/NzbDrone.Core/Parser/Model/ReleaseInfo.cs b/src/NzbDrone.Core/Parser/Model/ReleaseInfo.cs index 6b3b8b3b7..21f86f0a9 100644 --- a/src/NzbDrone.Core/Parser/Model/ReleaseInfo.cs +++ b/src/NzbDrone.Core/Parser/Model/ReleaseInfo.cs @@ -11,7 +11,6 @@ namespace NzbDrone.Core.Parser.Model public string Title { get; set; } public long Size { get; set; } public string DownloadUrl { get; set; } - public string BasicAuthString { get; set; } public string InfoUrl { get; set; } public string CommentUrl { get; set; } public int IndexerId { get; set; }