Verified Commit c3526aca authored by Markus Shepherd's avatar Markus Shepherd 🙈
Browse files

added add_rank to item

parent ad0efcf7
......@@ -106,6 +106,7 @@ def merge_configs(spider, full=False):
else (
"published_at",
"rank",
"add_rank",
"bgg_id",
"name",
"year",
......@@ -131,6 +132,7 @@ def merge_configs(spider, full=False):
"published_at",
"bgg_id",
"rank",
"add_rank",
"name",
"year",
"num_votes",
......
......@@ -342,6 +342,12 @@ class GameItem(TypedItem):
input_processor=POS_INT_PROCESSOR,
default=None,
)
add_rank = Field(
dtype=list,
output_processor=_clear_list,
serializer=JSON_SERIALIZER,
parser=parse_json,
)
num_votes = Field(
dtype=int,
dtype_convert=parse_int,
......
......@@ -67,6 +67,7 @@ FEED_EXPORT_FIELDS = (
"implementation",
"integration",
"rank",
"add_rank",
"num_votes",
"avg_rating",
"stddev_rating",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment