title: How to call JavaScript function using BeautifulSoup and Python
body: <p>I am performing web scraping to grab data from a website as part of my project. I can make the request and grab the data which is present in the dom. However, some data is getting rendered on javascript onClick function.</p>
  <p>One way could be, using the selenium to click on the link (which calls the javascript function) and grab the rendered data, but this process is time-consuming, and I don't want to open the browser.</p>
  <p>Is there any way other than selenium to achieve this?</p>
  <p>Website: <a href="http://catalog.fullerton.edu/preview_entity.php?catoid=16&amp;ent_oid=1849" rel="nofollow noreferrer">http://catalog.fullerton.edu/preview_entity.php?catoid=16&amp;ent_oid=1849</a></p>
  <p>In the <em>courses</em> section of this webpage, all the courses are hyperlinks, and as soon as someone clicks on the courses, a javascript method gets called. I need the data which gets rendered after the javascript function call.</p>