title: Get all the javascript file name and its contents in python perfectly
body: <p>I want to scan some websites and would like to get all the java script files names and content.I tried python requests with BeautifulSoup but wasn't able to get the scripts details and contents.am I missing something ?</p>
  
  <p>I have been trying lot of methods to find but I felt like stumbling in the dark.
  This is the code I am trying</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  r = requests.get("http://www.marunadanmalayali.com/")
  soup = BeautifulSoup(r.content)
  </code></pre>