Commit 2a89435c7bff276775babe82fa71732a43aada2b

Authored by steve ago
Exists in master

Merge branch 'master' of http://gitlab.pikicast.com/Noah/dsfacebook

Showing 2 changed files Side-by-side Diff

insight/url.py View file @ 2a89435
... ... @@ -73,7 +73,7 @@
73 73 })
74 74  
75 75 else:
76   - print link
  76 + #print link
77 77 data.append({
78 78 'bitly_url' : str(link),
79 79 'origin_url': str(txt[source_bgn:source_end]),
... ... @@ -101,7 +101,7 @@
101 101  
102 102 def rpiki2click(self,url):
103 103 #print url
104   - api = "http://contents-data.pikicast.com/contents_RPIKI_api/"
  104 + api = "http://data2.piki.work/contents_RPIKI_api/"
105 105  
106 106 try:
107 107 cid = url.split("cid=")[1].split("&")[0]
... ... @@ -16,7 +16,7 @@
16 16 token = Token()
17 17  
18 18 contexts = Context(token)
19   - contexts.setContextsFeedAndTimestemp(3600 * 24 * 10 )
  19 + contexts.setContextsFeedAndTimestemp(3600 * 24 * 10)
20 20 contents_list = contexts.getContentsList()
21 21  
22 22 for content in contents_list: