Skip to content

Commit 11a00fd

Browse files
committed
Remove driver.get(current url)
1 parent 3892767 commit 11a00fd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

PhotoScraper/RPI_SIS_PhotoScraper.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,6 @@ def getStudentInfoFromCourseHelper(driver, term, class_list):
446446
input()
447447
raise
448448

449-
img_url = driver.current_url
450-
driver.get(img_url)
451-
452449
# image, initalize to empty string
453450
student_record["img url"] = ""
454451
image_arr = driver.find_elements(By.TAG_NAME, "img")

0 commit comments

Comments
 (0)