问题是图中的i2.png, arr.gif是写在<script> </script>段落中

2011/5/19 金玉玮 <[email protected]>

> 俺也是刚学perl,我个人觉得你可以正则获取 src="xxx.yy" 然后根据yy判断文件类型。
>
> 在 2011年5月19日 下午5:38,wilson <[email protected]>写道:
>
>>
>> 杯具,copy习惯了
>> 源码目前都是改的cpan上的列子。
>> 刚开始用Perl尝试写东西,所以很多时候都摸瞎中
>>
>> 图在这里
>> [image: firebug.png]
>>
>>
>> 2011/5/19 wilson <[email protected]>
>>
>>> 尝试用LWP,HTML::LinkExtor 可以取得在body内的一些文件(src="xxxx")
>>> 但是对<javascript>部分的一些内容还没有啥办法。
>>> 希望各位提供一些思路
>>> 希望实现的结果如下图:列出页面所调用的文件(下图为www.baidu.com的首页结果)
>>>
>>>
>>>
>>>
>>
>>
>>  --
>> 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
>> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。
>> 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。
>> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
>>
>
>  --
> 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。
> 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。
> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
>



-- 
伏伟任
Wilson.Fu

-- 
您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 [email protected]。
要取消订阅此网上论坛,请发送电子邮件至 [email protected]。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

<<firebug.png>>

回复