Skip to content

Commit 2bcd341

Browse files
committed
Merge pull request sjdirect#95 from henrikrossen/patch-1
Update README.md changed obsolete PageSizeInBytes
2 parents c5e17c6 + 8e31cce commit 2bcd341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ crawler.ShouldDownloadPageContent((crawledPage, crawlContext) =>
287287
crawler.ShouldCrawlPageLinks((crawledPage, crawlContext) =>
288288
{
289289
CrawlDecision decision = new CrawlDecision{ Allow = true };
290-
if (crawledPage.PageSizeInBytes < 100)
290+
if (crawledPage.Content.Bytes.Length < 100)
291291
return new CrawlDecision { Allow = false, Reason = "Just crawl links in pages that have at least 100 bytes" };
292292

293293
return decision;

0 commit comments

Comments
 (0)