From e6e8c594b51adcbb0c67dde91004e37fa44a6853 Mon Sep 17 00:00:00 2001 From: Joshua Date: Wed, 6 Dec 2023 16:53:33 -0800 Subject: [PATCH] uncommented gofish crawler --- MarketPlaces/GoFish/crawler_selenium.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/MarketPlaces/GoFish/crawler_selenium.py b/MarketPlaces/GoFish/crawler_selenium.py index 7ce4cee..19612cb 100644 --- a/MarketPlaces/GoFish/crawler_selenium.py +++ b/MarketPlaces/GoFish/crawler_selenium.py @@ -31,15 +31,15 @@ baseURL = 'http://gofishbybookb4a2kvviuygmwjqfxx7nqsovweogs2cxvqvexhe7edyd.onion def startCrawling(): mktName = getMKTName() - # driver = getAccess() - # - # if driver != 'down': - # try: - # login(driver) - # crawlForum(driver) - # except Exception as e: - # print(driver.current_url, e) - # closeDriver(driver) + driver = getAccess() + + if driver != 'down': + try: + login(driver) + crawlForum(driver) + except Exception as e: + print(driver.current_url, e) + closeDriver(driver) new_parse(mktName, baseURL, True)