From 1c664d3ac0045855b63ca02fe6c445ab59f7ffd6 Mon Sep 17 00:00:00 2001 From: zhu yu Date: Mon, 11 Mar 2019 10:50:36 +0900 Subject: [PATCH] div update --- src/CrawlerSamples.ConsoleApp/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CrawlerSamples.ConsoleApp/Program.cs b/src/CrawlerSamples.ConsoleApp/Program.cs index 280aaad..ae4e461 100644 --- a/src/CrawlerSamples.ConsoleApp/Program.cs +++ b/src/CrawlerSamples.ConsoleApp/Program.cs @@ -49,7 +49,7 @@ private static async Task TestAngleSharp() var document = parser.Parse(htmlString); //Selector carbox element list - var carboxList = document.QuerySelectorAll("div.customGoodsList div.content div.list li.carbox"); + var carboxList = document.QuerySelectorAll("div.shop-content div.content div.list li.carbox"); var carModelList = new List(); foreach (var carbox in carboxList) @@ -107,4 +107,4 @@ private static CarModel CreateModelWithAngleSharp(IParentNode node) return model; } } -} \ No newline at end of file +}