| Home | Trees | Indices | Help |
|---|
|
|
1 # -*- coding: cp1252 -*- 2 # 3 ################################################################################## 4 # 5 # This file is part of usufy.py. 6 # 7 # Usufy is free software: you can redistribute it and/or modify 8 # it under the terms of the GNU General Public License as published by 9 # the Free Software Foundation, either version 3 of the License, or 10 # (at your option) any later version. 11 # 12 # This program is distributed in the hope that it will be useful, 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. 19 # 20 ################################################################################## 21 22 from platforms import Platform 2325 """ 26 A <Platform> object for Douban. 27 """4129 """ 30 Constructor... 31 """ 32 self.platformName = "Douban" 33 # Add the tags for the platform 34 self.tags = ["social", "contact"] 35 self.NICK_WILDCARD = "<HERE_GOES_THE_NICK>" 36 # Add the URL below 37 self.url = "http://site.douban.com/" + self.NICK_WILDCARD + "/" 38 # Add the strings to look for when an error appears 39 #self.notFoundText = ["Con más de 215 millones de usuarios,", "Potencia tu vida social, no tu red social"] 40 self.notFoundText = ["http://img3.douban.com/pics/douban_error.gif"]
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sun Jul 6 01:20:08 2014 | http://epydoc.sourceforge.net |