ASK About Little Script


#1

How to extract an video from an iframe especially from youtube.com ? what is the syntax?


#2

If videos are being stripped, you can add

prune: no 

to the site config file associated with the site you’re extracting from.

To extract only an iframe containing a youtube video, you can try something like:

body: //iframe[contains(@src, 'youtube.com')]