title: Webscraping Analytics Vidhya to get the courses and their names and total count of reviews
body: <p>I have scraped analytics vidhya website to get their courses,names of courses and total reviews of their courses. There was no problem to get their coures however I am having trouble to scrape/get the names of courses and their total reviews.</p>
  
  <p>here's my code:</p>
  
  <pre><code>
      import requests
      from bs4 import BeautifulSoup
  
      for page in range(1,5):
          url = "https://courses.analyticsvidhya.com/collections?category=courses&amp;page="+str(page)
          page_request = requests.get(url)
          data = page_request.content
          soup = BeautifulSoup(data,"html.parser")
          for courses in soup.find_all('div', {'class': 'collections__product-cards collections__product-cards___0b9ab'}):
              for course_name in soup.find_all('ul', {'class': 'products__list'}):
                  for names in soup.find_all('li', {'class': 'products__list-item'}):
                      for divs in soup.find_all('div', {'class':'course-card__body'}):
                          for revs in soup.find_all('div', {'class': 'course-card__reviews'}):
                              reviews = soup.find('span', {'class': 'review__stars-count'})
                      title = soup.find('h3')
                      review = reviews.text
                      course_title = title.text
                      print(course_title + " "+str(review) +" "+ "https://courses.analyticsvidhya.com"+ names.find('a')['href'])
  </code></pre>
  
  <p>The problem while running this python script is that it keeps giving the same 'course_title'(name of the course) as well as the reviews.</p>