🏡 index : github.com/captn3m0/muse-dl.git

require "./infoparser.cr"
require "./issue.cr"

module Muse::Dl
  class Article
    getter id : String, :start_page, :end_page, :title
    setter title : String | Nil, start_page : Int32 | Nil, end_page : Int32 | Nil

    def initialize(id : String)
      @id = id
      @url = "https://muse.jhu.edu/article/#{id}"
    end

    # TODO: Fix this
    def open_access
      return false
    end
  end
end