initial commit
This commit is contained in:
15
wowhead_scraper/spiders/object.py
Normal file
15
wowhead_scraper/spiders/object.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from config import ENTITIES
|
||||
from parsers import object as object_parser
|
||||
from spiders.base import Spider
|
||||
|
||||
|
||||
class ObjectSpider(Spider):
|
||||
entity = ENTITIES["object"]
|
||||
listview_id = object_parser.LISTVIEW_ID
|
||||
csv_fields = object_parser.CSV_FIELDS
|
||||
|
||||
def list_row(self, raw, categories):
|
||||
return object_parser.list_row(raw, categories)
|
||||
|
||||
def parse_page(self, html, row):
|
||||
return object_parser.parse_page(html, row)
|
||||
Reference in New Issue
Block a user