Skip to content

Commit 2cbaaca

Browse files
committed
Change location of CYBORG data
Used to be in a <p> tag -- now appears to be in a <div> tag, still with the ```class="mediumheader"``` attribute.
1 parent fedae67 commit 2cbaaca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Supybot-plugins-20060723/CyborgName/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def callCommand(self, command, irc, msg, *args, **kwargs):
4545
except utils.web.Error, e:
4646
irc.error(str(e))
4747

48-
_cyborgRe = re.compile(r'<p class="mediumheader">(.*?)</p>', re.I)
48+
_cyborgRe = re.compile(r'<div class="mediumheader">(.*?)</div>', re.I)
4949
def cyborg(self, irc, msg, args, name):
5050
"""[<name>]
5151

0 commit comments

Comments
 (0)