How To Scrape & Export Video Information from YouTube Videos
How To Scrape & Export Video Information from YouTube Videos In this video, we will learn how we can scrape any youtube channel videos title and link using some commands. Using this trick you can get all your channel videos title in some seconds. You can use all these data to create a post for your website or you can share all these links on your social media. .............................................................................................................................. First Code to display all videos var scroll = setInterval(function(){ window.scrollBy(0, 1000)}, 1000); Second Code to get all videos title and URL window.clearInterval(scroll); console.clear(); urls = $$('a'); urls.forEach(function(v,i,a){if (v.id=="video-title"){console.log('\t'+v.title+'\t'+v.href+'\t')}}); .............................................................................................................................. Follow these steps to scrape the data from youtube-: Step1 -: First of all open your youtube channel and go to the videos tab. Step2-: Right click on anywhere in screen and click on Inpect elements. Step3-: Click on console tab then refresh your webpage. Step4-: Now you have to copy this code and paste it in console to load your all videos on that page. var scroll = setInterval(function(){ window.scrollBy(0, 1000)}, 1000); Step5-: Now you have to wait some seconds to load all videos Step6-: Now you have to copy this code and paste it in console to get all videos title and link in the console. window.clearInterval(scroll); console.clear(); urls = $$('a'); urls.forEach(function(v,i,a){if (v.id=="video-title"){console.log('\t'+v.title+'\t'+v.href+'\t')}}); Step7-: Now press Ctrl+A and CTRL+C then open google sheet or excel sheets to paste this data. You can delete the first column. ! Happy Coding ! Join this channel to get access to perks: https://www.youtube.com/channel/UCyNJURC5bvqIQ9vO9PBrYrA/join #TheCodingBus #TCB #DataScrape #ExportYoutubeData #ScrapeYoutubeData #ScrapeVideosTitle #ScrapeData #ExportTitles #AllVideosTitle #USA #unitedstates
via YouTube https://www.youtube.com/watch?v=Ck18EuzLeNM
The Coding Bus is an educational youtube channel for learning the Free programming languages online. Content includes tutorials and references relating to HTML, CSS, JavaScript, JSON, PHP, Python, AngularJS, React.js, SQL, Bootstrap, Sass, Node.js, jQuery, XQuery, AJAX, XML, Raspberry Pi, C++, and Java
Subscribe to:
Post Comments (Atom)
😍Developer on Weekends #shorts #officememes #developermemes
😍Developer on Weekends #shorts #officememes #developermemes Welcome to the latest viral YouTube shorts meme for developers! 😍Developer on...
-
How to create a free online course website with WordPress in 2019 In this video, I'm going to show you how to create an online course...
-
How to make a Piano App in MIT App Inventor 2 How to make a Piano App in MIT App Inventor 2 Download Code-: https://ift.tt/2VbH8Bu via You...
-
Privacy Policy Minzor built the 3d wallpapers app as a Free app. This SERVICE is provided by Minzor at no cost and is intended for use as is...
No comments:
Post a Comment