Skip to content

Commit 07fc737

Browse files
committed
fix merge error
1 parent 46a04ef commit 07fc737

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TumblThree/TumblThree.Applications/Crawler/TumblrHiddenCrawler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,15 +476,15 @@ private async Task DownloadPage(List<Post> posts)
476476
}
477477
}
478478

479-
private List<Content> GetContents(Post post)
479+
private static List<Content> GetContents(Post post)
480480
{
481481
if (post.Content?.Count > 0)
482482
{
483483
return post.Content;
484484
}
485485
else if (post.Trail?.Count > 0)
486486
{
487-
return post.Trail.Where(.Trail[0].Content;
487+
return post.Trail.SelectMany(t => t.Content).ToList();
488488
}
489489
return new List<Content>();
490490
}

0 commit comments

Comments
 (0)