Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lichenggang
/
chip1stop_cate
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a1a9ca22
authored
Apr 03, 2019
by
lichenggang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
'update'
parent
9fa03841
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
cate.py
cate_has_stock.py
count.py
goods.py
mysqlopera.py
rabbit_conn.py
cate.py
View file @
a1a9ca22
import
re
,
requests
import
re
,
requests
from
lxml
import
etree
from
lxml
import
etree
from
utils.
mysqlopera
import
MySqlOperator
from
mysqlopera
import
MySqlOperator
operator
=
MySqlOperator
(
'chip1stop'
)
operator
=
MySqlOperator
(
'chip1stop'
)
headers
=
{
headers
=
{
...
...
cate_has_stock.py
View file @
a1a9ca22
import
re
,
requests
import
re
,
requests
from
lxml
import
etree
from
lxml
import
etree
from
utils.
mysqlopera
import
MySqlOperator
from
mysqlopera
import
MySqlOperator
operator
=
MySqlOperator
(
'chip1stop'
)
operator
=
MySqlOperator
(
'chip1stop'
)
headers
=
{
headers
=
{
...
...
count.py
View file @
a1a9ca22
This diff is collapsed.
Click to expand it.
goods.py
View file @
a1a9ca22
...
@@ -7,9 +7,9 @@ from multiprocessing import Pool
...
@@ -7,9 +7,9 @@ from multiprocessing import Pool
import
redis
,
os
,
traceback
import
redis
,
os
,
traceback
from
selenium.webdriver
import
DesiredCapabilities
from
selenium.webdriver
import
DesiredCapabilities
from
c
hip1stop.c
onfig
import
get_redis_conf
,
ENV
from
config
import
get_redis_conf
,
ENV
from
chip1stop.
mylogger
import
Mylogger
from
mylogger
import
Mylogger
from
chip1stop.
rabbit_conn
import
producer
from
rabbit_conn
import
producer
chrome_options
=
webdriver
.
ChromeOptions
()
chrome_options
=
webdriver
.
ChromeOptions
()
chrome_options
.
add_argument
(
'blink-settings=imagesEnabled=false'
)
chrome_options
.
add_argument
(
'blink-settings=imagesEnabled=false'
)
...
...
mysqlopera.py
0 → 100644
View file @
a1a9ca22
This diff is collapsed.
Click to expand it.
rabbit_conn.py
View file @
a1a9ca22
...
@@ -2,7 +2,7 @@ import json
...
@@ -2,7 +2,7 @@ import json
import
pika
import
pika
from
c
hip1stop.c
onfig
import
get_mq_conf
from
config
import
get_mq_conf
class
Base
:
class
Base
:
...
...
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