コード例 #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));
        }