{"action":"opened","issue":{"url":"https://api.github.com/repos/gottfrois/link_thumbnailer/issues/88","repository_url":"https://api.github.com/repos/gottfrois/link_thumbnailer","labels_url":"https://api.github.com/repos/gottfrois/link_thumbnailer/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/gottfrois/link_thumbnailer/issues/88/comments","events_url":"https://api.github.com/repos/gottfrois/link_thumbnailer/issues/88/events","html_url":"https://github.com/gottfrois/link_thumbnailer/issues/88","id":155081606,"number":88,"title":"undefined method `size' for nil:NilClass ","user":{"login":"6thSigma","id":3760602,"avatar_url":"https://avatars.githubusercontent.com/u/3760602?v=3","gravatar_id":"","url":"https://api.github.com/users/6thSigma","html_url":"https://github.com/6thSigma","followers_url":"https://api.github.com/users/6thSigma/followers","following_url":"https://api.github.com/users/6thSigma/following{/other_user}","gists_url":"https://api.github.com/users/6thSigma/gists{/gist_id}","starred_url":"https://api.github.com/users/6thSigma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/6thSigma/subscriptions","organizations_url":"https://api.github.com/users/6thSigma/orgs","repos_url":"https://api.github.com/users/6thSigma/repos","events_url":"https://api.github.com/users/6thSigma/events{/privacy}","received_events_url":"https://api.github.com/users/6thSigma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-16T17:45:38Z","updated_at":"2016-05-16T17:45:38Z","closed_at":null,"body":"I'm getting `undefined method 'size' for nil:NilClass` on a couple of URLs.\r\n\r\n```\r\na = LinkThumbnailer.generate('https://www.ixl.com/science/grade-2/classify-matter-as-solid-or-liquid')\r\n```\r\n```\r\nETHON: Libcurl initialized\r\nETHON: started MULTI\r\nETHON: performed MULTI\r\nNoMethodError: undefined method `size' for nil:NilClass\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/image_parser.rb:13:in `size'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/models/image.rb:14:in `initialize'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/scrapers/opengraph/image.rb:27:in `new'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/scrapers/opengraph/image.rb:27:in `modelize'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/scrapers/opengraph/image.rb:23:in `block in model'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/nokogiri-1.6.7.2/lib/nokogiri/xml/node_set.rb:187:in `block in each'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/nokogiri-1.6.7.2/lib/nokogiri/xml/node_set.rb:186:in `upto'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/nokogiri-1.6.7.2/lib/nokogiri/xml/node_set.rb:186:in `each'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/scrapers/opengraph/image.rb:23:in `map'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/scrapers/opengraph/image.rb:23:in `model'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/scrapers/opengraph/image.rb:19:in `value'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/scrapers/opengraph/image.rb:9:in `value'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/scrapers/base.rb:27:in `call'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/scrapers/opengraph/images.rb:10:in `call'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/scraper.rb:37:in `block (2 levels) in call'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/link_thumbnailer-3.2.0/lib/link_thumbnailer/scraper.rb:36:in `each'\r\n... 16 levels...\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `load'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `block in load'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:in `load_dependency'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in `load'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/spring-1.5.0/lib/spring/commands/rails.rb:6:in `call'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/spring-1.5.0/lib/spring/command_wrapper.rb:38:in `call'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/spring-1.5.0/lib/spring/application.rb:183:in `block in serve'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/spring-1.5.0/lib/spring/application.rb:156:in `fork'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/spring-1.5.0/lib/spring/application.rb:156:in `serve'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/spring-1.5.0/lib/spring/application.rb:131:in `block in run'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/spring-1.5.0/lib/spring/application.rb:125:in `loop'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/spring-1.5.0/lib/spring/application.rb:125:in `run'\r\n        from /Users/me/.rvm/gems/ruby-2.2.4/gems/spring-1.5.0/lib/spring/application/boot.rb:18:in `<top (required)>'\r\n        from /Users/me/.rvm/rubies/ruby-2.2.4/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n        from /Users/me/.rvm/rubies/ruby-2.2.4/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'\r\n```\r\n\r\nSame error happens for `http://playbook.samaltman.com/` too."}}