dannyvassallo / insta_scrape

The instagram swiss army knife. Restores all deprecated hashtag functionality and grants public api access from instagram's front end without any of the authorization.
https://rubygems.org/gems/insta_scrape
MIT License
60 stars 27 forks source link

Capybara::Ambiguous: Ambiguous match, found 14 elements matching css "time" #36

Open crojasu opened 4 years ago

crojasu commented 4 years ago

Hi, maybe you could help me whit this error Capybara::Ambiguous: Ambiguous match, found 14 elements matching css "time" when I run this code?

scrape_result = InstaScrape.long_scrape_hashtag("test", 1, include_meta_data: true) scrape_result.each do |post| if Foto.find_by(name:post.text).nil? Foto.create(name: post.text, otro: post.image, user: post.username) end end

thanks"