title: Using requests.post() to scrape text from web page
body: <p>I'd like to scrape text from a real estate listings webpage. I'm succeeding when I know the URL upfront, but I'm not able to search for a zip code and then scrape the page that results from that search.</p>
  
  <pre><code># I know the URL, and I can scrape data from the page successfully
  from lxml import html
  import requests
  url = 'https://www.mlslistings.com/Search/Result/6b1a2c4f-3976-43d8-94a7-5742859f26f1/1' # this URL is the page that follows a zip code search on the 'mlslistings.com' homepage
  page = requests.get(url)
  tree = html.fromstring(page.content)
  address_raw = list(map(str, tree.xpath('//a[@class="search-nav-link"]//text()'))) # returns addresses found on listings page
  </code></pre>
  
  <pre><code># I want to do the zip code search on the homepage, and scrape the page that follows, but this time get an empty list
  url = 'https://www.mlslistings.com/'
  data = {'transactionType': 'buy', 'listing_status': 'Active', 'searchTextType': '', 'searchText': '94618','__RequestVerificationToken': 'CfDJ8K_Ve2wchEZEvUasrULD6jPUmwSLRaolrWoc10T8tMJD8LVSE2c4zMKhNIRwuuwzLZPPsypcZzWaXTHX7Unk1NtVdtAIqIY8AL0DThPMv3xwVMhrzC8UumhLGSXh00oaDHDreGBlWXB2NmRAJi3MbqE'}
  post = requests.post(url, data=data)
  tree = html.fromstring(post.content)
  address_raw = list(map(str, tree.xpath('//a[@class="search-nav-link"]//text()'))) # returns empty list! why?
  </code></pre>