Пример #1
0
 def get(self):
     url = self.request.get("url")
     #url = urllib.unquote_plus(url)
     logging.info(url)
     output = untiny(url)
     logging.info(output)
     self.response.out.write(output)
     return
Пример #2
0
 def untiny_command(self,message=None):
     m_body = str(message.body)[7:]
     message.reply(untiny(m_body.strip()))