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
62991f3f
Commit
62991f3f
authored
Jul 23, 2020
by
litaolemo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6a26b3f6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
crawler_baijiahao.py
crawler_sys/site_crawler/crawler_baijiahao.py
+1
-1
crawler_weibo.py
crawler_sys/site_crawler_by_redis/crawler_weibo.py
+0
-0
crawler_v_qq.py
crawler_sys/site_crawler_test/crawler_v_qq.py
+1
-1
No files found.
crawler_sys/site_crawler/crawler_baijiahao.py
View file @
62991f3f
...
@@ -28,7 +28,7 @@ from crawler.crawler_sys.utils.util_logging import logged
...
@@ -28,7 +28,7 @@ from crawler.crawler_sys.utils.util_logging import logged
try
:
try
:
from
crawler_sys.framework.func_get_releaser_id
import
*
from
crawler_sys.framework.func_get_releaser_id
import
*
except
:
except
:
from
func_get_releaser_id
import
*
from
write_data_into_es.
func_get_releaser_id
import
*
from
crawler.crawler_sys.utils.trans_duration_str_to_second
import
*
from
crawler.crawler_sys.utils.trans_duration_str_to_second
import
*
from
crawler.crawler_sys.proxy_pool.func_get_proxy_form_kuaidaili
import
get_proxy
from
crawler.crawler_sys.proxy_pool.func_get_proxy_form_kuaidaili
import
get_proxy
...
...
crawler_sys/site_crawler_by_redis/crawler_weibo.py
0 → 100644
View file @
62991f3f
This diff is collapsed.
Click to expand it.
crawler_sys/site_crawler_test/crawler_v_qq.py
View file @
62991f3f
...
@@ -1011,7 +1011,7 @@ class Crawler_v_qq():
...
@@ -1011,7 +1011,7 @@ class Crawler_v_qq():
count
=
0
count
=
0
pid
=
os
.
getpid
()
pid
=
os
.
getpid
()
redis_key
=
connect_with_redis
.
platform_redis_lst_reg
[
self
.
platform
]
redis_key
=
connect_with_redis
.
platform_redis_lst_reg
[
self
.
platform
]
while
connect_with_redis
.
length_of_lst
(
lst_
key
=
redis_key
)
>
0
:
while
connect_with_redis
.
length_of_lst
(
key
=
redis_key
)
>
0
:
resp_str
=
connect_with_redis
.
retrieve_video_html_from_redis_renew
(
self
.
platform
)
resp_str
=
connect_with_redis
.
retrieve_video_html_from_redis_renew
(
self
.
platform
)
video_dic
=
self
.
parse_video_html_to_renew_play_count
(
resp_str
)
video_dic
=
self
.
parse_video_html_to_renew_play_count
(
resp_str
)
if
video_dic
is
not
None
:
if
video_dic
is
not
None
:
...
...
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