整理多余代码,

This commit is contained in:
zhangxu
2016-10-07 20:58:09 +08:00
parent 8f0e374cfc
commit 65efda8fd4
7 changed files with 14 additions and 40 deletions
+8 -3
View File
@@ -1,6 +1,11 @@
# fetchQzone
抓取多人QQ空间说说和评论。以便分析一个人在他的好友的空间中留下的轨迹,获取有用信息。
部署在百度云上,详情及demo请移步:[http://fqzone.duapp.com](http://fqzone.duapp.com/)
,
使用Python/django/MySQL/开发
使用Python2.7/django/MySQL/开发.
目前功能:
1. 亲密度分析
2. 二度人脉分析
3. 两人交互分析
4. 活动时间分析
5. 共同好友分析
-22
View File
@@ -1,22 +0,0 @@
########################## BAE application config file ######################
#
# app.conf 采用YAML格式, 请参考 http://yaml.org/
# 请尽量不要在配置部分使用中文,以免发布失败
# 请不要使用TAB键,应该使用空格
# 一定要注意对齐,否则发布会失败
# app.conf 详细功能,请参考:
# http://developer.baidu.com/wiki/index.php?title=docs/cplat/rt/manage/conf
# http://godbae.duapp.com/?p=654
#
##############################################################################
handlers:
- url : /*
script: index.py
- expire : .jpg modify 10 years
- expire : .swf modify 10 years
- expire : .png modify 10 years
- expire : .gif modify 10 years
- expire : .JPG modify 10 years
- expire : .ico modify 10 years
View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

+3
View File
@@ -1,3 +1,6 @@
from django.contrib import admin
# Register your models here.
-12
View File
@@ -1,12 +0,0 @@
from qiniu import Auth
#from mysite import settings
AccessKey='PS9Yw-2b8qL6PihR2h5pSmow7Z1Hh3s35LVPnPZM'
SecretKey='Tm9qUpMQ92a2eaEfbtqhaYE9tMBR_GMAkr22UEQa'
csrfName='csrfmiddlewaretoken'
callbackUrl="http://ncwugirl.duapp.com/girl/qncallback/"
callbackBody="name=$(key)&bucket=$(bucket)&mimeType=$(mimeType)&desc=$(x:desc)&csrfmiddlewaretoken=$(x:csrfmiddlewaretoken)"
policy={'callbackUrl':callbackUrl,'callbackBody':callbackBody}
def getToken():
q=Auth(AccessKey,SecretKey)
token=q.upload_token(bucket='ncwugirl',policy=policy)
return token
+3
View File
@@ -28,6 +28,9 @@ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings")
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
# Apply WSGI middleware here.
# from helloworld.wsgi import HelloWorldApplication
# application = HelloWorldApplication(application)
-3
View File
@@ -1,3 +0,0 @@
django==1.5.5
MySQL-python
qiniu==7.0.1