title: How to get HTML Source from URL in Swift Anonymously?
body: <p>I am trying to scrape html code from a URL using Swift, but it needs to be done anonymously. 
  The issue with my case is that the content differs when I am logged in the website or not. My app has a webkit that allows users to view a certain page of a website. If they log in via the webkit, the scraping result is different from if they did not log in.</p>
  
  <p>I have read and searched through tons of questions on StackOverflow to see how to get the HTML source from a URL and the one that I am using can be found here:
  <a href="https://stackoverflow.com/questions/26134884/how-to-get-html-source-from-url-with-swift">How To Get HTML source from URL with Swift</a> I have also tried the codes from different answers and questions.</p>
  
  <pre><code>guard let getHTMLString = try? String(contentsOf: theUrl, encoding: .utf8).condensingWhitespace() as String else {
          callErrorPage()
          return
      }
  </code></pre>
  
  <p>I get the content of the html page with the code above.</p>
  
  <p>But like I mentioned above, the codes differ if the user has logged in the website. </p>
  
  <p><strong>Edit</strong>: I need the code to always be the version where the user is not logged in.</p>