title: How to scrape likes on instagram
body: <p>I got a code to scrape instagram data. It's  scrape the followers, following, and posts, but i still need to scrape likes on post. Is there a way to scrape likes without API from instagram?</p>
  
  <p>Here's the code for scrape, i still need to scrape likes on here.</p>
  
  <pre><code>import requests
  import urllib.request
  import urllib.parse
  import urllib.error
  from bs4 import BeautifulSoup
  import ssl
  
  class Insta_Info_Scraper:
  
      def getinfo(self, url):
          html = urllib.request.urlopen(url, context=self.ctx).read()
          soup = BeautifulSoup(html, 'html.parser')
          data = soup.find_all('meta', attrs={'property': 'og:description'
                               })
          text = data[0].get('content').split()
          user = '%s %s %s' % (text[-3], text[-2], text[-1])
          followers = text[0]
          following = text[2]
          posts = text[4]
          info={}
          info["User"] = user
          info["Followers"] = followers
          info["Following"] = following
          info["Posts"] = posts
          self.info_arr.append(info)
  </code></pre>