Skip to content

Commit

Permalink
Shutterstick page layout change
Browse files Browse the repository at this point in the history
  • Loading branch information
umairahmadh authored May 9, 2020
1 parent ca829e1 commit f9a7b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shutterscrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit f9a7b91

Please sign in to comment.