C#实现web信息自动抓取[9]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 yutao728 的 blog

                    while( ret.indexof( "</a" ) >=0 )

                    {

                        ret = ret.substring( 0,ret.indexof( "</a" ) ) + "</a" + ret.substring( ret.indexof( "</a" ) + 3 );

                    }

                    while( ret.indexof( "href=" ) >=0 )

                    {

                        ret = ret.substring( 0,ret.indexof( "href=" )) + "href=" + ret.substring( ret.indexof( "href=" ) + 5 );

                    }

                    while( ret.indexof( "href=" ) >=0 )

本文关键:C#实现web信息自动抓取
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top