예제 #1
0
        protected async Task <string> BaseGetTorrentDescriptionAsync(string detailsUri, ITorrentParser parser)
        {
            var fullUrl  = Path.Combine(_baseUrl, detailsUri);
            var contents = await UrlGetResponseString(fullUrl);

            return(await parser.ParsePageForDescriptionHtmlAsync(contents));
        }
예제 #2
0
        protected async Task <string> BaseGetTorrentDescriptionAsync(string fullUrl, ITorrentParser parser)
        {
            var contents = await UrlGetResponseString(fullUrl);

            return(await parser.ParsePageForDescriptionHtmlAsync(contents));
        }