Browse Source

uncommented gofish crawler

main
Joshua 1 year ago
parent
commit
e6e8c594b5
1 changed files with 9 additions and 9 deletions
  1. +9
    -9
      MarketPlaces/GoFish/crawler_selenium.py

+ 9
- 9
MarketPlaces/GoFish/crawler_selenium.py View File

@ -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)


Loading…
Cancel
Save