title: Invalid Argument in Open method for web scraping
body: <p>I am trying to scrape some data from the ancestry, I have a .net background but thought i'd try a bit of python for a project.
  I'm falling at the first step, Firstly i am trying to open this page and then just print out the rows.</p>
  
  <pre><code>from requests import get
  from requests.exceptions import RequestException
  from contextlib import closing
  from bs4 import BeautifulSoup
  
  raw_html = open('https://www.ancestry.co.uk/search/collections/britisharmyservice/? 
  birth=_merthyr+tydfil-wales-united+kingdom_1651442').read()
  html = BeautifulSoup(raw_html, 'html.parser')
  for p in html.select('tblrow record'):
      print(p)
  </code></pre>
  
  <p>I am getting an illegal argument on open. </p>