Browse Source

fixed naming of initial 0days parser

main
loki1001 11 months ago
parent
commit
2ba47f0ac8
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      MarketPlaces/Initialization/prepare_parser.py

+ 5
- 0
MarketPlaces/Initialization/prepare_parser.py View File

@ -25,6 +25,7 @@ from MarketPlaces.Ares.parser import *
from MarketPlaces.CypherMarketplace.parser import *
from MarketPlaces.WeTheNorth.parser import *
from MarketPlaces.GoFish.parser import *
from MarketPlaces.ZeroDay.parser import *
from MarketPlaces.Classifier.classify_product import predict
@ -160,6 +161,8 @@ def parse_listing(marketPlace, listingFile, soup, createLog, logFile):
rw = wethenorth_listing_parser(soup)
elif marketPlace == "GoFish":
rw = gofish_listing_parser(soup)
elif marketPlace == "ZeroDay":
rw = zeroday_listing_parser()
else:
print("MISSING CALL TO LISTING PARSER IN PREPARE_PARSER.PY!")
raise Exception
@ -214,6 +217,8 @@ def parse_description(marketPlace, descriptionFile, soup, createLog, logFile):
rmm = wethenorth_description_parser(soup)
elif marketPlace == "GoFish":
rmm = gofish_description_parser(soup)
elif marketPlace == "ZeroDay":
rmm = zeroday_description_parser(soup)
else:
print("MISSING CALL TO DESCRIPTION PARSER IN PREPARE_PARSER.PY!")
raise Exception


Loading…
Cancel
Save