Package usufy :: Package wrappers :: Module myspace
[hide private]
[frames] | no frames]

Source Code for Module usufy.wrappers.myspace

 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 
23   
24 -class Myspace(Platform):
25 """ 26 A <Platform> object for Myspace. 27 """
28 - def __init__(self):
29 """ 30 Constructor... 31 """ 32 self.platformName = "Myspace" 33 self.tags = ["social"] 34 self.NICK_WILDCARD = "<HERE_GOES_THE_NICK>" 35 self.url = "https://myspace.com/" + self.NICK_WILDCARD 36 # Note that when Myspace cannot find a given user, it loads the default URI to post a new paste. 37 self.notFoundText = ["Page Not Found"] 38 self.score= 10.0
39