Module: Panchira
- Defined in:
- lib/panchira.rb,
lib/panchira/version.rb,
lib/panchira/extensions.rb,
lib/panchira/panchira_result.rb,
lib/panchira/resolvers/resolver.rb,
lib/panchira/resolvers/fanza_resolver.rb,
lib/panchira/resolvers/image_resolver.rb,
lib/panchira/resolvers/iwara_resolver.rb,
lib/panchira/resolvers/narou_resolver.rb,
lib/panchira/resolvers/nijie_resolver.rb,
lib/panchira/resolvers/pixiv_resolver.rb,
lib/panchira/resolvers/dlsite_resolver.rb,
lib/panchira/resolvers/komiflo_resolver.rb,
lib/panchira/resolvers/twitter_resolver.rb,
lib/panchira/resolvers/melonbooks_resolver.rb
Overview
Main Panchira code goes here. If you simply want to get data from your URL, then ::Panchira::fetch() will do.
Defined Under Namespace
Modules: Extensions, Fanza, Narou Classes: DlsiteResolver, ImageResolver, IwaraResolver, KomifloResolver, MelonbooksResolver, NijieResolver, PanchiraImage, PanchiraResult, PixivNovelResolver, PixivResolver, Resolver, TwitterResolver
Constant Summary collapse
- VERSION =
'1.6.1'
Class Method Summary collapse
-
.fetch(url, options = nil) ⇒ Object
Return a PanchiraResult that contains the attributes of given url.
Class Method Details
.fetch(url, options = nil) ⇒ Object
Return a PanchiraResult that contains the attributes of given url.
24 25 26 27 28 |
# File 'lib/panchira.rb', line 24 def fetch(url, = nil) resolver = select_resolver(url) resolver.new(url, ).fetch end |