refactored Episode, Added Quality Enum

This commit is contained in:
Keivan 2010-09-27 22:01:54 -07:00
commit a49850cc89
12 changed files with 240 additions and 270 deletions

View file

@ -5,19 +5,9 @@ namespace NzbDrone.Core.Providers
{
class HttpProvider : IHttpProvider
{
public string GetRequest(string request)
public string DownloadString(string request)
{
//Get the request and return as String Array
try
{
var webClient = new WebClient();
return webClient.DownloadString(request);
}
catch (Exception ex)
{
Console.WriteLine(ex);
return String.Empty;
}
return new WebClient().DownloadString(request);
}
}
}