In Python's urllib, how can we get a URL which is updated after the call?
<p>I am using BeautifulSoup to scrape a webpage. However, when I make the call (using urllib2 + Python 3.4) in a browser, the URL changes to a unique one based on GUID every time a fresh call is made. For eg. if I make the call <a href="http://www">http://www</a>..com, it changes to <strong><a href="http://www">http://www</a>..com/DYNAMIC/id={GUID like string}</strong>. All subsequent calls to links on the page have this ID appended to the calls. The GUID like string changes every time the browser is called. Is there a way to get the dynamic link with the GUID like string after a call to the site ? I am trying to make my script unobtrusive so I want to do this in a headless way (avoid using Selenium, for example).</p>