Skip to content

Commit acb362a

Browse files
authored
Merge pull request CloudBotIRC#282 from linuxdaemon/pagecheck-format-fix
Fix parsing of isup.me pages
2 parents 272c625 + f0482a4 commit acb362a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/pagecheck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def isup(text):
4949

5050
soup = BeautifulSoup(response.text, 'lxml')
5151

52-
content = soup.find('div').text.strip()
52+
content = soup.find('div', id="domain-main-content").text.strip()
5353

5454
if "not just you" in content:
5555
return "It's not just you. {} looks \x02\x034down\x02\x0f from here!".format(url)

0 commit comments

Comments
 (0)