title: Web Scraping Videos
body: <p>I'm attempting to do a proof of concept by downloading a TV episode of Bob's Burgers at <a href="https://www.watchcartoononline.com/bobs-burgers-season-9-episode-3-tweentrepreneurs" rel="nofollow noreferrer">https://www.watchcartoononline.com/bobs-burgers-season-9-episode-3-tweentrepreneurs</a>.</p>
  
  <p>I cannot figure out how to extract the video url from this website.  I used Chrome and Firefox web developer tools to figure out it is in an iframe, but extracting src urls with BeautifulSoup searching for iframes, returns links that have nothing to do with the video.  Where are the references to mp4 or flv files (which I see in Developer Tools - even though clicking them is forbidden).</p>
  
  <p>Any understanding on how to do video web scraping with BeautifulSoup and requests would be appreciated.</p>
  
  <p>Here is some code if needed.  A lot of tutorials say to use 'a' tags, but I didn't receive any 'a' tags.</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  
  r = requests.get("https://www.watchcartoononline.com/bobs-burgers-season-9-episode-5-live-and-let-fly")
  soup = BeautifulSoup(r.content,'html.parser')
  links = soup.find_all('iframe')
  for link in links:
      print(link['src'])
  </code></pre>