You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tinami.rb
    path of file: ./repos/danbooru/app/logical/source/extractor
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

# @see Source::URL::Tinami
module Source
  class Extractor
    class Tinami < Source::Extractor
      def match?
        Source::URL::Tinami === parsed_url
      end

      def image_urls
        if parsed_url.image_url?
          [url]

        # http://www.tinami.com/view/1087268 (single 
    
      def image_urls
        if parsed_url.image_url?
          [url]

        # http://www.tinami.com/view/1087268 (single image)
        elsif page&.css("img.captify")&.size.to_i == 1
          [full_image_url].compact

        # http://www.tinami.com/view/1087270 (multiple images)
        elsif image_sub_ids.present?
          image_sub_ids.map { |sub_id| full_image_url(sub_id) }.compact

        # http://www.tinami.com/view/1087271 (multiple images)
        elsif nv_body_image_urls.present?
          nv_body_image_urls

        # http://www.tinami.com/view/1087267 (no images, text only)
        else
          []
        end