Sha256: 5b8dbc092797ca34fe1f46e5aeccfc2d34e31fe0638704eb78df2a3b4e96b521

Contents?: true

Size: 238 Bytes

Versions: 4

Compression:

Stored size: 238 Bytes

Contents

module InstaScraper
  class JSON::Account < InstaScraper::JSON
    attr_reader :username

    def initialize(username)
      @username = username
    end

    def url
      "https://www.instagram.com/#{username}/?__a=1"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
insta_scraper-0.8.0 lib/insta_scraper/json/account.rb
insta_scraper-0.7.0 lib/insta_scraper/json/account.rb
insta_scraper-0.6.1 lib/insta_scraper/json/account.rb
insta_scraper-0.6.0 lib/insta_scraper/json/account.rb