You've already forked Sonarr
mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-11-06 09:19:38 +02:00
Fixed network auth issue, custom parser issue
This commit is contained in:
@@ -40,10 +40,11 @@ namespace NzbDrone.Core.Providers.Core
|
||||
}
|
||||
}
|
||||
|
||||
public virtual Stream DownloadStream(string url)
|
||||
public virtual Stream DownloadStream(string url, NetworkCredential credential)
|
||||
{
|
||||
var request = WebRequest.Create(url);
|
||||
|
||||
request.Credentials = credential;
|
||||
var response = request.GetResponse();
|
||||
|
||||
return response.GetResponseStream();
|
||||
|
||||
Reference in New Issue
Block a user