Commit 6156c772bf0d7c5c1e36354b4db680138478e30c

Authored by Noah ago
1 parent cfdd3d396b
Exists in master

본문, 댓글 http://bit.ly/ url, 피키 콘텐츠 매핑 수집

Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff

insight/context.py View file @ 6156c77
... ... @@ -74,7 +74,7 @@
74 74 txt = requests.get(url + self.token).text
75 75 data = json.loads(txt)
76 76 return_val.append(data)
77   - print data
  77 + #print data
78 78  
79 79 while self.isNext(data):
80 80 nextUrl = self.nextUrl(data)
... ... @@ -115,7 +115,7 @@
115 115 sqlvalues += "NOW(), "
116 116  
117 117 bitdata = CrawlShortener().runCrawler([message_url,insight.getContentCommentUrl()])[0]
118   - print bitdata
  118 + #print bitdata
119 119  
120 120 sqlvalues += "'" + bitdata['bit_url'] + "', "
121 121 sqlvalues += bitdata['bit_click'] + ", "
... ... @@ -131,7 +131,7 @@
131 131 sqlprefix = sqlprefix[:len(sqlprefix)-2] + ")"
132 132 sqlvalues = sqlvalues[:len(sqlvalues)-2] + ");"
133 133  
134   - print sqlprefix + sqlvalues
  134 + #print sqlprefix + sqlvalues
135 135  
136 136 datadb.fb_insert(sqlprefix + sqlvalues)
137 137 datadb.fb_insert(sqlreplace + sqlprefix[32:] + sqlvalues)