From f9a7b9176d9faf20af8f542890da3c4eca4a9bfc Mon Sep 17 00:00:00 2001 From: Umair Ahmadh Date: Sat, 9 May 2020 23:33:20 +0530 Subject: [PATCH] Shutterstick page layout change --- shutterscrape.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shutterscrape.py b/shutterscrape.py index 9ca51ad..ef86679 100644 --- a/shutterscrape.py +++ b/shutterscrape.py @@ -84,7 +84,7 @@ def imagescrape(): data = driver.execute_script("return document.documentElement.outerHTML") print("Page " + str(i)) scraper = BeautifulSoup(data, "lxml") - img_container = scraper.find_all("img", {"class":"z_g_h"}) + img_container = scraper.find_all("img", {"class":"z_h_c z_h_e"}) for j in range(0, len(img_container)-1): img_src = img_container[j].get("src") name = img_src.rsplit("/", 1)[-1]