I have this Selenium code:
driver.get("https://www.youtube.com/")
link_mix = driver.find_elements_by_tag_name('a')
for linked in link_mix:
print(linked.get_attribute('href'))
I wish to get links that are of the form youtube.com/contentcodexxxxxx and not any other hyperlinks such as header links.