This is an example of interacting with YouTube website and extracting video information using AgentQL.
- Install AgentQL SDK
- Save this JavaScript file locally as main.js
- Run the following command from the project's folder:
node main.js
Install the AgentQL Debugger Chrome extension to play with the AgentQL query. Learn more about the AgentQL query language