Python 3.5.2 web-scraping - list index out of range
<p>I am new web scraping and trying to scrap all the contents of Restaurant's Details Form so that I can proceed my further scraping.</p>

<pre><code>import requests
from bs4 import BeautifulSoup
import urllib

url = "https://www.foodpanda.in/restaurants"
r=requests.get(url)
soup=BeautifulSoup(r.content,"html.parser")
print(soup.find_all("Section",class_="js-infscroll-load-more-here")[0])
</code></pre>

<p>The problem is with accessing element at index <code>0</code> for <code>soup.find_all("Section",class_="js-infscroll-load-more-here"ââ)</code>, because the result is an empty list.</p>

python web-scraping beautifulsoup