upd arrows

This commit is contained in:
Rykov7
2023-01-27 17:16:48 +03:00
parent 90e4c4acff
commit 5aadb37429
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ from urllib.request import urlopen
html = BeautifulSoup(urlopen('https://telegra.ph/pythonchatru-07-07'), 'lxml')
def get_rule(li):
def fetch_rule(li):
li = int(li)
lis = html.find_all('li')
if li <= len(lis):