I do not know why but always if I am using selenium it is not working now. I have a problem with a giphy.com. Here is my code
tag = "pixelart"
driver.get(f"https://giphy.com/search/{tag}")
time.sleep(2)
gifs = driver.find_elements(By.XPATH,"/html/body/div[4]/div[1]/div/div[6]/div[2]/div[1]")
print(gifs)
for gif in gifs:
href = gif.get_attribute("href")
print(f"Test : {href})
Output should be a URL in href: