Commit 992eab16 authored by litaolemo's avatar litaolemo

update

parent 5c4da86f
......@@ -14,7 +14,7 @@ import json, re
import datetime, copy
from elasticsearch import Elasticsearch
from write_data_into_es.func_get_releaser_id import get_releaser_id
from crawler.write_data_into_es.func_get_releaser_id import get_releaser_id
import redis
import hashlib
......@@ -113,7 +113,7 @@ def write_to_es(file, push_to_redis=True, update=True, key_releaser=False, updat
if extra_dic:
line_dict.update(extra_dic)
print(str(get_releaser_id(platform=platform, releaserUrl=releaserUrl)))
# print(str(get_releaser_id(platform=platform, releaserUrl=releaserUrl)))
line_dict["releaser_id"] = get_releaser_id(platform=platform, releaserUrl=releaserUrl)
if line_dict["releaser_id"]:
......
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