Almost fixed streaming. The only thing left is to fix headers.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user