Greetings,
Please have some patience as I'm not a python/web/html/soup developer
I am trying to return the print version of an article from an rss feed. The url looks something like this:
http://www.news24.com/Content/SouthA...intenance_bill
The print version url looks like this:
http://www.news24.com/printArticle.a...aff46&cid=1059
The problem is that the print url is supplied through a java script:
<script language="JavaScript">
function openPrintWindow() {
myPrintWindow = window.open('http://www.news24.com/printArticle.aspx?iframe&aid=1cfd873e-535e-4b5a-b944-da15f15aff46&cid=1059','myPrintWindow','toolbar=0, location=0,directories=0,status=0,menubar=0,scroll bars=1,resizable=0,width=750,height=600');
}
</script>
So, what is the easiest way to grab that URL from the java script? I've looked at some of the builtin recipes but could not find anything that relates to a specific case like this. Or maybe I just didn't understand the python code
Any help appreciated.
Regards,
Neels