Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
crawler
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chengyang Zhong
crawler
Commits
992eab16
Commit
992eab16
authored
Jul 24, 2020
by
litaolemo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5c4da86f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
target_releaser_add.py
write_data_into_es/target_releaser_add.py
+2
-2
No files found.
write_data_into_es/target_releaser_add.py
View file @
992eab16
...
...
@@ -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"
]:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment