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

Ambiguous match Capybara #32

Open an-nasir opened 6 years ago

an-nasir commented 6 years ago

Hi, In long_scrape_posts I'm facing this issue this might be due to they have updated their html tags etc.

Ambiguous match, found 3 elements matching css "div section span span" (Capybara::Ambiguous)

dannyvassallo commented 6 years ago

Will try and look into this. I need to carve out time to merge some PRs. If you can fix this, PRs are welcome.

an-nasir commented 6 years ago

I can try a little as they have changed the way of applying css. Instagram is now using isostyle css strategy injected to tags by js at runtime I think. I fixed some of them, will issue a pull request soon.

an-nasir commented 6 years ago

Pull request is failing due to tests as it returns variable results. You can have a look at this for isostyle ref https://stackoverflow.com/questions/32724501/finding-css-of-instagram-login-page

dannyvassallo commented 6 years ago

Thanks for this! Will try and take a look when I get a chance.