YouTube scrapping

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
mnaeem
Junior Coder
Posts: 30
Joined: Wed Mar 10, 2021 5:05 pm

YouTube scrapping

Post by mnaeem » Thu Sep 30, 2021 7:32 pm

Hello,
I am trying to write an automation with following steps.

Step 1) open chrome using chromedriver
Step 2) navigate to www.youtube.com/
Step 3) find the textbox to write the keyword you want to search
Step 4) after successfully finding the text box, enter the keyword in the textbox and press enter.
Step 5) What ever list I have received against that keyword I need to grab, video URL, Video Description, Channel name to which this video belong and channel Id
Step 6) Keep navigating to next page and repeat the step 5.

Now the step 5 is where I am stuck and unable to move a head. Can someone please guide me how can I move a head or any helping script for this purpose.

Thanks

User avatar
Grovkillen
Automation Wizard
Posts: 1128
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: YouTube scrapping

Post by Grovkillen » Thu Sep 30, 2021 7:57 pm

How about using the API instead of brute force?

https://developers.google.com/youtube/v ... earch/list
Let>ME=%Script%

Running: 15.0.27
version history

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts