ctfs: update module reflecting site changes
This commit is contained in:
parent
e0d7ef1314
commit
226ee4e34e
|
@ -25,10 +25,8 @@ def get_info_yt(msg):
|
||||||
|
|
||||||
for line in soup.body.find_all('tr'):
|
for line in soup.body.find_all('tr'):
|
||||||
n = line.find_all('td')
|
n = line.find_all('td')
|
||||||
if len(n) == 5:
|
if len(n) == 7:
|
||||||
try:
|
res.append_message("\x02%s:\x0F from %s type %s at %s. Weight: %s. %s%s" %
|
||||||
res.append_message("\x02%s:\x0F from %s type %s at %s. %s" %
|
tuple([striphtml(x.text).strip() for x in n]))
|
||||||
tuple([striphtml(x.text) for x in n]))
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
return res
|
return res
|
||||||
|
|
Loading…
Reference in New Issue
Block a user