title: Python - Check the URL return
body: <p>im writing a small to script to web scraping  url and check if is what i need.
  If the URL return json add a YES column on my url's list.</p>
  <pre><code>import webbrowser
  webbrowser.open('https://mvneves.com.br/wp-json/wc/v3')
  </code></pre>
  <p>But my problem is - when the url is ok - dont return a json file.</p>
  <p><a href="https://mvneves.com.br/wp-json/wc/v3" rel="nofollow noreferrer">https://mvneves.com.br/wp-json/wc/v3</a><br />
  This is the result i want</p>
  <p>How can i write to my script - if return this, add yes to the column?</p>
  <p>Thank u!</p>