title: Beautiful Soup scrape Multiple URLs with Python 3
body: <p>Below code works fine, but I need to scrape multiple URLs and I don't know really how...</p>
  
  <p>Would be nice also if possible to scrape the urls from a CSV file...</p>
  
  <p>Basically I'm trying to get a redirect link from a search link</p>
  
  <pre><code>from bs4 import BeautifulSoup
  import requests
  
  url = "https://www.tennis-point.fr/index.php?stoken=737F2976&amp;lang=1&amp;cl=search&amp;searchparam=E705Y-0193"
  
  # Getting the webpage, creating a Response object.
  response = requests.get(url)
  
  # Extracting the source code of the page.
  data = response.text
  
  # Passing the source code to BeautifulSoup to create a BeautifulSoup object for it.
  soup = BeautifulSoup(data, 'lxml')
  
  # Extracting all the &lt;a&gt; tags into a list.
  tags = soup.find("div", {"class": "productsPicture"}).findAll("a")
  
  # Extracting URLs from the attribute href in the &lt;a&gt; tags.
  for tag in tags:
      print(tag.get('href'))
  </code></pre>