mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-10-30 23:27:24 +01:00 
			
		
		
		
	Made gameknot.com URL snarfer bold the names.
This commit is contained in:
		
							parent
							
								
									ced5e6b052
								
							
						
					
					
						commit
						c86363db46
					
				| @ -7,6 +7,7 @@ import urllib2 | ||||
| 
 | ||||
| import ircmsgs | ||||
| import ircutils | ||||
| import ircutils | ||||
| import callbacks | ||||
| 
 | ||||
| htmlStripper = re.compile(r'<[^>]+>') | ||||
| @ -39,6 +40,8 @@ class Forums(callbacks.PrivmsgRegexp): | ||||
|         s = fd.read() | ||||
|         try: | ||||
|             ((wRating, wName), (bRating, bName)) = self.gkPlayer.findall(s) | ||||
|             wName = ircutils.bold(wName) | ||||
|             bName = ircutils.bold(bName) | ||||
|             wRating = wRating.replace('<br>', ' ') | ||||
|             bRating = bRating.replace('<br>', ' ') | ||||
|             wRating = wRating.replace('Wins', '; Wins') | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jeremy Fincher
						Jeremy Fincher