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
af041179
Commit
af041179
authored
Jul 27, 2020
by
litaolemo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
7ec665c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
es_target_releasers.py
crawler_sys/framework/es_target_releasers.py
+1
-0
No files found.
crawler_sys/framework/es_target_releasers.py
View file @
af041179
...
@@ -62,6 +62,7 @@ def get_releaserUrls_from_es(platform,
...
@@ -62,6 +62,7 @@ def get_releaserUrls_from_es(platform,
size
=
0
,
size
=
0
,
request_timeout
=
100
)
request_timeout
=
100
)
total_hit
=
search_resp
[
'hits'
][
'total'
]
total_hit
=
search_resp
[
'hits'
][
'total'
]
print
(
total_hit
)
releaserUrl_Lst
=
[]
releaserUrl_Lst
=
[]
if
total_hit
>
0
:
if
total_hit
>
0
:
print
(
'Got
%
d releaserUrls for platform
%
s.'
%
(
total_hit
,
platform
))
print
(
'Got
%
d releaserUrls for platform
%
s.'
%
(
total_hit
,
platform
))
...
...
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