title: How to scrape the heading and description using python and beautiful soup?
body: <p><strong>Overview of the problem:</strong></p>
  <p>Link : <a href="https://www.bobfinancial.com/eterna.jsp" rel="nofollow noreferrer">https://www.bobfinancial.com/eterna.jsp</a></p>
  <p>In the Details Section: Basically I want all Points.</p>
  <p>details:</p>
  <pre class="lang-py prettyprint-override"><code>[ #This is an array of Strings... 
      
  &quot;Milestone Rewards: Earn 10,000 bonus reward points on spending ₹ 50,000 within 60 days &amp; 20,000 bonus reward points on spending ₹ 5,00,000 in a year.&quot;,
  &quot;Fuel Surcharge Waiver*: 1% fuel surcharge waiver at all fuel stations across India on transactions between Rs.400 and Rs.5,000 (Max. Rs. 250 per statement cycle). Note -No Reward Points are earned on fuel transactions.&quot;,
  &quot;Core Reward Points:  3 reward points for every ₹ 100 spent on any other category.&quot;,
  &quot;Redeem reward points for cashback: Redeem your reward points as cashback and other exciting options.All your accumulated reward points can be redeemed for cashback @ 1 reward point = ₹ 0.25&quot;,
  &quot;In-built insurance cover: Get free Personal Accidental Death Cover to ensure financial protection of your family (Air: 1 Crs, Non-Air: 10 Lakhs) &quot;,
  &quot;Zero liability on lost card. Report loss of card immediately to ensure zero liability on any fraudulent transactions&quot;,
  &quot;Easy EMI option. Convert purchase of &gt; 2,500/- on your card into easy EMIs of 6/12 months&quot;
  ]
  </code></pre>
  <p><strong>Actual Problem :</strong></p>
  <p>Link to scrape : <a href="https://www.online.citibank.co.in/credit-card/rewards/citi-rewards-credit-card?eOfferCode=INCCCCTWAFCTRELM" rel="nofollow noreferrer">https://www.online.citibank.co.in/credit-card/rewards/citi-rewards-credit-card?eOfferCode=INCCCCTWAFCTRELM</a></p>
  <p>Items that I want from that link are there in the following images :</p>
  <p><a href="https://i.stack.imgur.com/rBePI.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rBePI.jpg" alt="citi_1" /></a>
  <a href="https://i.stack.imgur.com/NDU0Y.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NDU0Y.jpg" alt="citi_2" /></a></p>
  <pre><code>from urllib.request import urlopen
  from bs4 import BeautifulSoup
  import json,requests
  
  details = []
  
  url = ['https://www.online.citibank.co.in/credit-card/rewards/citi-rewards-credit-card?eOfferCode=INCCCCTWAFCTRELM']
  html = urlopen(url[0])
  soup = BeautifulSoup(html, 'lxml')
  addr= soup.find_all('span',class_ = 'm-bottom-0 header-4 font-weight-bold display-text')
  print(addr)
  </code></pre>
  <p>I wrote the above code and got stuck after I got this output :</p>
  <pre><code>[]
  </code></pre>
  <p>I don't know how to proceed further and scrape the information that I want, any help is highly appreciated.</p>