In this video, I show you a neat trick to extract RU-vid Titles and Views in bulk. Not only that, I will also show you how we can manipulate the data to pull out some insights from it.
L I N K S /
lucascavo.gumr...
C O D E S //
Codes mentioned in the video:
🔶 Number 1:
var scroll = setInterval(function(){ window.scrollBy(0, 1000)}, 1000);
🔶 Number 2:
window.clearInterval(scroll); console.clear(); urls = $$('a'); urls.forEach(function(v,i,a){if (v.id=="video-title-link" && v.href){console.log('\t'+new Date().toLocaleDateString()+'\t'+v.title+'\t'+v.href+'\t'+v.__shady_native_innerHTML.match(/aria-label=\"(.+?)\"/g)?.[0].match(/[\d,]+ views/g)[0]+'\t')}});
Thanks for watching my video. I make how to videos to help you quickly and easily solve your problems. If I helped you please consider subscribing to my channel, it really helps me out.
If you have any questions about what you saw or unresolved issues, leave them in the comments below. Alternatively, you can send me an email by heading to my channel page, tapping on About, and tapping on View email address. I look forward to hearing from you. Have a great day!
#howto
#youtubechannel
#RU-vidanalysis
15 окт 2024