Almost fixed streaming. The only thing left is to fix headers.

This commit is contained in:
magnolia-fan
2011-04-11 12:19:47 +04:00
parent 71ad3d17e6
commit 4d2c32ec8e
3 changed files with 17 additions and 7 deletions
+7 -2
View File
@@ -16,7 +16,12 @@ module Vkontakte
files = self.parseHtml(html)
files = self.calcWeight(files, artist, track, length)
#self.stream files.first['url']
files.first['url']
return {
'url' => files.first['url'],
'remixsid' => @@bot['remixsid'],
'remixchk' => @@bot['remixchk']
}
end
@@ -108,4 +113,4 @@ module Vkontakte
data
end
end
end