Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bsns/dianping
/ functions
Functions
60 in github.com/bsns/dianping
⨍
Functions
60
◇
Types & classes
12
↓ 10 callers
Function
export_mysqltable_xls
(choice)
analy/transfer.py:8
↓ 4 callers
Method
connectDatabase
(self)
dianping/dbhelper.py:24
↓ 4 callers
Method
deal_num
(self, str)
dianping/spiders/comment.py:61
↓ 4 callers
Function
seek_num
(key, label, af_value)
analy/gender.py:7
↓ 3 callers
Function
seek_num
(key, content, pr_value, af_value)
analy/price.py:7
↓ 2 callers
Function
create_pagecomment
()
analy/createsql.py:43
↓ 2 callers
Function
create_user
()
analy/createsql.py:25
↓ 2 callers
Function
create_user_list_shop
()
analy/createsql.py:65
↓ 2 callers
Function
createdianpingshop
()
analy/createsql.py:2
↓ 2 callers
Function
createyangzhoushop
()
analy/createsql.py:80
↓ 2 callers
Function
excel_read
(doc,table,x,y)
analy/table_content.py:18
↓ 1 callers
Function
analy_shop
(shop_id)
analy/shop_clouword.py:10
↓ 1 callers
Function
analy_shop
(shop_id)
analy/analy_shop.py:10
↓ 1 callers
Method
connectMysql
(self)
dianping/dbhelper.py:14
↓ 1 callers
Method
createDatabase
因为创建数据库直接修改settings中的配置MYSQL_DBNAME即可,所以就不要传sql语句了
dianping/dbhelper.py:34
↓ 1 callers
Method
createTable
(self, sql)
dianping/dbhelper.py:44
↓ 1 callers
Method
delete
(self, sql, *params)
dianping/dbhelper.py:73
↓ 1 callers
Function
importStopword
(filename='')
analy/shop_clouword.py:29
↓ 1 callers
Function
importStopword
(filename='')
analy/analy_shop.py:59
↓ 1 callers
Method
insert
(self, sql, *params)
dianping/dbhelper.py:53
↓ 1 callers
Function
processChinese
(text)
analy/shop_clouword.py:43
↓ 1 callers
Function
processChinese
(text)
analy/analy_shop.py:73
↓ 1 callers
Function
scrapy_type
(foodtype)
analy/choose_foodtype.py:9
↓ 1 callers
Function
seek_num
(key, af_value)
analy/analy_shop.py:24
↓ 1 callers
Function
show_price
()
analy/price.py:23
↓ 1 callers
Method
update
(self, sql, *params)
dianping/dbhelper.py:63
Method
__init__
(self)
dianping/dbhelper.py:5
Method
__init__
(self)
dianping/dbhelper.py:87
Method
__init__
(self)
dianping/pipelines.py:23
Method
__init__
(self,dbpool)
dianping/pipelines.py:36
Method
__init__
(self)
dianping/spiders/comment.py:28
Method
_conditional_insert
(self, tx, item)
dianping/pipelines.py:87
Method
_conditional_insert_Comment
(self, tx, item)
dianping/pipelines.py:100
Method
_conditional_insert_User
(self, tx, item)
dianping/pipelines.py:92
Method
_conditional_insert_User_shopItem
(self, tx, item)
dianping/pipelines.py:111
Method
_handle_error
(self, failue, item, spider)
dianping/pipelines.py:116
Function
excel_create
(sheet, value, x, y)
analy/table_content.py:10
Function
excel_create
(sheet, value, x, y)
analy/user_table_shop.py:9
Function
excel_read
(doc,table,x,y)
analy/user_table_shop.py:17
Method
from_crawler
(cls, crawler)
dianping/middlewares.py:17
Method
from_settings
(cls,settings)
dianping/pipelines.py:40
Method
parse
(self, response)
dianping/spiders/user.py:46
Method
parse
(self, response)
dianping/spiders/dianpingspider.py:33
Method
parse
(self, response)
dianping/spiders/comment.py:134
Method
process_item
(self, item, spider)
dianping/pipelines.py:25
Method
process_item
(self, item, spider)
dianping/pipelines.py:54
Method
process_spider_exception
(response, exception, spider)
dianping/middlewares.py:38
Method
process_spider_input
(response, spider)
dianping/middlewares.py:23
Method
process_spider_output
(response, result, spider)
dianping/middlewares.py:30
Method
process_start_requests
(start_requests, spider)
dianping/middlewares.py:46
Method
spider_closed
(self, spider)
dianping/pipelines.py:29
Method
spider_opened
(self, spider)
dianping/middlewares.py:55
Method
start_requests
(self)
dianping/spiders/user.py:27
Method
start_requests
(self)
dianping/spiders/dianpingspider.py:29
Method
testCreateDatebase
(self)
dianping/dbhelper.py:91
Method
testCreateTable
(self)
dianping/dbhelper.py:95
Method
testDelete
(self)
dianping/dbhelper.py:110
Method
testInsert
(self)
dianping/dbhelper.py:100
Method
testUpdate
(self)
dianping/dbhelper.py:105
Method
user
(self, response)
dianping/spiders/comment.py:76