#include <Array.au3>
#include <INet.au3>
#include<Array.au3>
$s_URL = 'http://www.ysxyfs.com/goods.php?id=2230'
$sText = _INetGetSource($s_URL)
Local $huohao = StringRegExp($sText, '货号:(.+?)<br', 3)
Local $kucun = StringRegExp($sText, '库存:(.+?)<br', 3)
Local $kucun = StringRegExp($sText, '库存:(.+?)<br', 3)
Local $pinpai = StringRegExp($sText, '品牌:(.+?)<br', 3)
Local $dianji = StringRegExp($sText, '点击数:(.+?)<br', 3)
Local $price = StringRegExp($sText, '标价:.+?>(.+?)<', 3)
Local $colors = StringRegExp($sText, '(?s)颜色:.+?" />\s+(.+?)</', 3)
Local $size = StringRegExp($sText, '/>\s*(S|M|L|XL|XXL)', 3)
_ArrayDisplay($size)
|