Browse Source

changed forum function names to MKT

main
Nathan Pham 1 year ago
parent
commit
493731a10c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      MarketPlaces/DarkBazar/crawler_selenium.py

+ 2
- 2
MarketPlaces/DarkBazar/crawler_selenium.py View File

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


Loading…
Cancel
Save