File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 55import  time 
66import  json 
77
8+ client_id  =  "dQOqapCr9Oi_rnjiZsMv" 
9+ client_secret  =  "ucnvwibcE_" 
810
911# blog 검색 
1012# url = "https://openapi.naver.com/v1/search/blog?query=" + encText # json 결과 
@@ -57,9 +59,12 @@ def getPostData(post, jsonResult):
5759 pDate  =  datetime .datetime .strptime (post ['pubDate' ], '%a, %d %b %Y %H:%M:%S +0900' )
5860 pDate  =  pDate .strftime ('%Y-%m-%d %H:%M:%S' )
5961
60-  jsonResult .append ({'title' : title , 'description' : description ,
61-  'org_link' : org_link , 'link' : org_link ,
62-  'pDate' : pDate })
62+  #jsonResult.append({'title': title, 'description': description, 
63+  # 'org_link': org_link, 'link': org_link, 
64+  # 'pDate': pDate}) 
65+ 
66+  jsonResult .append ({'description' : description })
67+  
6368 return 
6469
6570
                         You can’t perform that action at this time. 
           
                  
0 commit comments