diff --git a/MarketPlaces/DarkBazar/crawler_selenium.py b/MarketPlaces/DarkBazar/crawler_selenium.py index 2463eba..1f80aec 100644 --- a/MarketPlaces/DarkBazar/crawler_selenium.py +++ b/MarketPlaces/DarkBazar/crawler_selenium.py @@ -163,7 +163,7 @@ def savePage(driver, page, url): def getFullPathName(url): from MarketPlaces.Initialization.markets_mining import config, CURRENT_DATE - mainDir = os.path.join(config.get('Project', 'shared_folder'), "MarketPlaces/" + getForumName() + "/HTML_Pages") + mainDir = os.path.join(config.get('Project', 'shared_folder'), "MarketPlaces/" + getMKTName() + "/HTML_Pages") fileName = getNameFromURL(url) if isDescriptionLink(url): fullPath = os.path.join(mainDir, CURRENT_DATE + r'\\Description\\' + fileName + '.html') @@ -172,7 +172,7 @@ def getFullPathName(url): return fullPath -def getForumName() -> str: +def getMKTName() -> str: name = 'DarkBazar' return name