title: How to extract all video link in a YouTube channel through python?
body: <p>I am trying to fetch some details from YouTube channels but this is not give me the desired output.</p>
  
  <p>I have tried below code to fetch YouTube video links:</p>
  
  <pre><code>import requests
  import urllib.request as ur
  import pandas as pd
  
  username = "Google"
  path = "https://www.youtube.com/user/Google/videos"
  alldata = str(requests.get(path).content).split(' ')
  item = 'href="/watch?'
  vids = [line.replace('href="', 'https://www.youtube.com') for line in alldata if item in line] # list of all videos listed twice
  print(pd.DataFrame(vids))
  </code></pre>
  
  <p><strong>Current Output:</strong>
  This code is giving me the Approx. 30-40 Videos link as output but in the given page almost more then 1000+ video available.</p>
  
  <p><strong>Expected output:</strong>
  I want to extract all(1000+) video link available in this page.</p>
  
  <p>What I need to change in above page to get Expected output?</p>
  
  <p>Thanks for you time.</p>