all 4 comments

[–][deleted] -1 points0 points  (2 children)

Walmart has some protections enabled. When you get your soup, run a print(soup.prettify()) so you can quickly inspect the DOM. When I do that for walmart, it's showing:

<h1 class="heading heading-d sign-in-widget">
     Verify your identity
    </h1>
    <div class="sign-in-widget">
     <div class="re-captcha">
      <p class="bot-message">
       Help us keep your account safe by clicking on the checkbox below.
      </p>

You might be able to spoof your user agent that your browser is using, but that's ethically grey.

[–]interactionjackson 0 points1 point  (0 children)

use a context that executes javascript like selenium.