|
@ -216,12 +216,12 @@ def crawlForum(driver): |
|
|
savePage(driver, driver.page_source, item) |
|
|
savePage(driver, driver.page_source, item) |
|
|
driver.back() |
|
|
driver.back() |
|
|
|
|
|
|
|
|
# # comment out |
|
|
|
|
|
# break |
|
|
|
|
|
# |
|
|
|
|
|
# # comment out |
|
|
|
|
|
# if count == 1: |
|
|
|
|
|
# break |
|
|
|
|
|
|
|
|
# comment out |
|
|
|
|
|
break |
|
|
|
|
|
|
|
|
|
|
|
# comment out |
|
|
|
|
|
if count == 1: |
|
|
|
|
|
break |
|
|
|
|
|
|
|
|
try: |
|
|
try: |
|
|
link = driver.find_element(by=By.XPATH, value='//a[contains(text(), "Next")]').get_attribute('href') |
|
|
link = driver.find_element(by=By.XPATH, value='//a[contains(text(), "Next")]').get_attribute('href') |
|
|