嗨,我想单独从网页Date and Time的部分提取,它看起来如下所示:
<div class = "small-text">
<span id = "ct100900>
<span>
<span id = "ct100100"></span>
</span>
</span>
<small>
Feb 13, 2017 05:10 PM
</small>
如何在一个div (div id =旋转)上设置焦点,并锁定网页中的另一个div,直到该div的工作完成?旋转div包含的图像旋转,直到数据从数据库中提取?我必须阻止用户在网页中做其他工作,直到数据从db中提取出来并显示@另一个div (div id= display_db)?
伪码:
while(clicked on div id = rotate )
lock other divs of webpage and,
div id = rotate
rotate image until data is extracted from db
then
display at ano
我是c#的新手,我真的需要帮助解决以下问题。我希望从网页中提取具有特定模式的照片urls。例如,我希望提取具有以下模式name_412s.jpg的所有图像。我使用以下代码从html中提取图像,但我不知道如何修改它。
public void Images()
{
WebClient x = new WebClient();
string source = x.DownloadString(@"http://www.google.com");
HtmlAgilityPack.HtmlDocument document = n