高分求教 如何根据协议信息识别弹出式广告?
请问如何在TCP/IP协议里面根据HTTP的头部信息来分辨什么是弹出式广告?
比如下面一个HTTP头部信息:
GET /2002-04-03/52586.html HTTP/1.1
Accept: */*
Referer: http://eladies.sina.com.cn/celebrity/index.html
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Alexa Toolbar)
Host: eladies.sina.com.cn
Connection: Keep-Alive
If-Modified-Since: Tue, 14 May 2002 07:36:34 GMT; length=51704
Cookie: nn_V=1856196143; VISITED_STOCK=sz399001
怎么从这些头部信息中分辩什么是广告呢? 这个头部信息不是广告。下面是一个广告的头部信息:
GET / HTTP/1.1
Accept: */*
Referer: http://www.163.com
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate
If-Modified-Since: Thu, 08 Apr 2004 06:45:01 GMT; length=79445
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Alexa Toolbar)
Host: www.163.com
Connection: Keep-Alive
Cookie: nn_V=1856196143; NTES_SESS=guest