Extracting Iframe url contents

Hey all I want to extract the I frame video url's to my ruby code can any one help me in writing this code.......