class VbulletinScraper::V4::QuoteScraper

Public Instance Methods

get_quote_author() click to toggle source
# File lib/vbulletin_scraper/V4/quote_scraper.rb, line 6
def get_quote_author
    quoteAuthor = get_item_by_selector('.bbcode_postedby strong')
    if quoteAuthor != nil
        return get_raw_text(quoteAuthor.text)
    end
    return ''
end
get_quote_content() click to toggle source
# File lib/vbulletin_scraper/V4/quote_scraper.rb, line 14
def get_quote_content
    quoteContent = get_item_by_selector('.message')
    if quoteContent != nil
        return get_raw_text(quoteContent.text)
    end
    return ''
end