Class: VkMusic::WebParser::Artist

Inherits:
Base
  • Object
show all
Defined in:
lib/vk_music/web_parser/artist.rb

Overview

Artist top audios web page

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from VkMusic::WebParser::Base

Instance Method Details

#audiosArray<Audio>

Returns:



8
9
10
11
12
13
# File 'lib/vk_music/web_parser/artist.rb', line 8

def audios
  audio_section = node.at_css('.AudioSection.AudioSection__artist_audios')
  return [] if audio_section.nil?

  Utility::AudioItemsParser.call(audio_section, @client_id)
end