title: Get all requests urls of a page in Python
body: <p>Is there anyway to get all requested urls of a page? For example, when I visit a site, browsers make multiple network requests to for example, html, css and other files from the server that are necessary to display the page. I want to get all those assets urls using Python. Basically, I want to get all the urls like from the screenshot below. Can anyone point me in the right direction?</p>
  
  <p>PS: I want to do this with scripting to automate the task. I know that I can accomplish this kind of task using Wireshark which I cannot automate. </p>
  
  <p><a href="https://i.stack.imgur.com/sLcZp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sLcZp.png" alt="enter image description here"></a></p>