+ 1
how to find the iframe src and print the url ?
i've tried multiple times but... please tell me how to do it, here is my code that i tried: from selenium import webdriver from bs4 import BeautifulSoup import time import html5lib from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.ui import WebDriverWait as wait chrome_path = r"C:\Users\666\Desktop\New folder (8)\chromedriver.exe" driver=webdriver.Chrome(chrome_path) url = 'https://www.milversite.club/milver/outsiders-1x01-video_060893d7a.html' driver.set_page_load_timeout(15) driver.get(url) iframe = driver.find_elements_by_tag_name('iframe') print (iframe)("utf-8")
2 Antworten
0
url link that you mean is 404 page not found
0
something like this?
https://code.sololearn.com/ca6cCO33e02C/?ref=app