We recommend switching to the latest versions of Edge, Firefox, Chrome or Safari. Using Internet Explorer will result in a loss of website functionality.

HTTP node: NoHttpResponseException

Comments

2 comments

  • Avatar
    Gerry Mullin

    I deleted my first reply to replace with this data flow. It gives 3 different options to check if a web page exists:

     

    1. Using subprocess module - it will execute a curl command and give the result from it.

    2. Using os module - another curl command but you won't see the result, just a result code.

    3. Using urllib2 - probably the most correct way to do it. You must set the parameter DontRunInContainer for it to work. The documentation talks about how to do this in more detail.

     

    Hope this helps!

     

     

    Attached files

    Check if Web Page Exists - 5 Feb 2020.lna

     

    0
    Comment actions Permalink
  • Avatar
    Bart Roeleveld

    Wow, Gerry, this is really really briliant!!!!

    Thank you so much, this absolutely solved my problem!!

    The very best regards from The Netherlands from Bart!!

    0
    Comment actions Permalink

Please sign in to leave a comment.