mikell Posted November 1, 2014 Posted November 1, 2014 Hum it's a little maths problem #include <Array.au3> $sData = BinaryToString(InetRead("http://steamcommunity.com/market/")) $aItems = StringRegExp($sData, '(?sU)row_link.*href="(.*)".*$(\d+\.\d{2}).*item_name".*>(.*)<\/span>.*<\/a>', 3) ;_ArrayDisplay($aItems) Local $res[UBound($aItems)/3][3] For $i = 0 to UBound($aItems)-1 $n = Mod($i, 3) $res[($i-$n-1)/3+1][$n] = $aItems[$i] Next _ArrayDisplay($res) 4b0082 1
4b0082 Posted November 1, 2014 Author Posted November 1, 2014 Awesome! Thanks so much, mikell! And also thanks everyone else who posted in this thread, I learned a lot from you guys.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now