I have been trying to extract the src which is a openload link from a website. The src is loacted in iframe which is loaded dynamically. the website is "https://www1.fmovies.se/film/daddys-home-2.kk29w". Now The problem is that iframe is loaded dynamically. So this is my code
from selenium import webdriver
driver=webdriver.Chrome('C:\\Users\\aman krishna\Desktop\\New folder(3)\chromedriver.exe')
driver.get("https://bmovies.to/film/daddys-home-2.kk29w/78vp5j")
driver.find_element_by_xpath("//iframe[contains(@src,'<https://openload.co/embed/qe3n5GZGyGo/?autostart=true')]")