class Mangdown::Mangareader

Adapter for mangareader

Constants

ROOT

Public Instance Methods

chapter(url) click to toggle source
# File lib/mangdown/adapter/mangareader.rb, line 24
def chapter(url)
  Chapter.load(url)
end
for?(uri) click to toggle source
# File lib/mangdown/adapter/mangareader.rb, line 10
def for?(uri)
  URI.parse(uri).host&.end_with?('mangareader.net')
rescue URI::Error
  false
end
manga(url) click to toggle source
# File lib/mangdown/adapter/mangareader.rb, line 20
def manga(url)
  Manga.load(url)
end
manga_list() click to toggle source
# File lib/mangdown/adapter/mangareader.rb, line 16
def manga_list
  MangaList.load('https://www.mangareader.net/alphabetical')
end
page(url) click to toggle source
# File lib/mangdown/adapter/mangareader.rb, line 28
def page(url)
  Page.load(url)
end