protected async Task AddImgurAlbumUrlAsync(string post, string timestamp) { foreach (string imageUrl in await ImgurParser.SearchForImgurUrlFromAlbumAsync(post)) { if (CheckIfSkipGif(imageUrl)) { continue; } AddToDownloadList(new ExternalPhotoPost(imageUrl, ImgurParser.GetImgurId(imageUrl), timestamp)); } }
protected void AddImgurUrl(string post, string timestamp) { foreach (string imageUrl in ImgurParser.SearchForImgurUrl(post)) { if (CheckIfSkipGif(imageUrl)) { continue; } AddToDownloadList(new ExternalPhotoPost(imageUrl, ImgurParser.GetImgurId(imageUrl), timestamp)); } }