title: Having trouble removing first and last character from urls in csv
body: <p>I am getting the following error when using <code>requests</code> <code>requests.exceptions.InvalidSchema: No connection adapters were found for</code>'['<a href="https://www.example.com/contact/find" rel="nofollow noreferrer">https://www.example.com/contact/find</a>..']' . So there are these two braces at the start and at the end of the links which I am reading from a csv file. These braces end up there because of this statement <code>links_total.append('https://www.example.com'+cell_link['href'])</code> . I am trying to slice the row before <code>requests</code> .Is not working. I used <code>row = row[1:-1]</code> which gives the following error <code>requests.exceptions.InvalidURL: Failed to parse: []</code>. I'd like to remove these braces.</p>
  
  <pre><code>try:
      with open('rt.csv', 'r') as read_obj:
        csv_reader = reader(read_obj)
        for row in csv_reader:
          row = row[1:-1]
          page2 = requests.get(row)
  </code></pre>
  
  <p>This line is from a program I used to scrape these links to the csv file. <code>links_total.append('https://www.example.com'+cell_link['href'])</code></p>