title: Scraping a 'href' from a <span> with no class inside a<div>
body: <p>i am pretty new to scraping with BeatifulSoup and python and I am having some difficulties trying to get a href inside a span but it has no class.. The following portion of code is from a phpbb forum, i have no problem scraping all the  href but for some reason i cannot figure it out how to grab what is inside the span..</p>
  <pre><code>&lt;div class=&quot;col-md-48 post-text&quot; data-topic=&quot;6693rw38&quot; data-forum=&quot;2&quot;&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;a href=&quot;http://imgshare.net/img-5ba3dt3ad8a24.html&quot; target=&quot;_blank&quot; class=&quot;postlink&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;a href=&quot;http://imgshare.net/img-5baefr1a51a49.html&quot; target=&quot;_blank&quot; class=&quot;postlink&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;span&gt;
      &lt;a href=&quot;https://k2s.cc/file/5c745ce5g9193/toyota.mp4&quot; target=&quot;_blank&quot;&gt;https://k2s.cc/file/5c745ce5g9193/toyota.mp4&lt;/a&gt;
  &lt;/span&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;a href=&quot;http://imgshare.net/img-5ba34d1q805b8.html&quot; target=&quot;_blank&quot; class=&quot;postlink&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
  &lt;br&gt;
  &lt;br&gt;
  &lt;span&gt;
      &lt;a href=&quot;https://k2s.cc/file/b28gr283ef76e/ford.mp4&quot; target=&quot;_blank&quot;&gt;https://k2s.cc/file/b28gr283ef76e/ford.mp4&lt;/a&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p>This will give me all the 'href' inside the a tag:</p>
  <pre><code>url ='somephpbbforum.com'
  page = requests.get(url)
  soup = BeautifulSoup(page.content, 'lxml')  
  
  link = soup.find_all('div', class_ = 'col-md-48')
  
  for div in link:          
      all_links = [link1['href'] for link1 in div.find_all('a')]
      print(all_links)
  </code></pre>
  <p>Thanks guys!</p>