mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Fixed network auth issue, custom parser issue
This commit is contained in:
parent
eb48a7eff8
commit
b65fe99b30
8 changed files with 136 additions and 17 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue