Парсинг списка групп, фикс
This commit is contained in:
parent
a8580c67e5
commit
ef8b6788b9
7
main.py
7
main.py
@ -1570,8 +1570,8 @@ if __name__ == '__main__':
|
||||
# print(group.contents, group.get('value'))
|
||||
if group.get('value') != "-1":
|
||||
groups.append({
|
||||
"name": group.contents,
|
||||
"html_value": group.get('value')
|
||||
"name": group.contents[0],
|
||||
"value": group.get('value')
|
||||
})
|
||||
# print(group_html_block)
|
||||
# print(group_html_block.parent)
|
||||
@ -1594,5 +1594,4 @@ if __name__ == '__main__':
|
||||
post_data["&ctl00%24cphMain%24ctl08"] = -1
|
||||
print(post_data)
|
||||
|
||||
#
|
||||
# <form action="./?g=2" id="Form1" method="post">
|
||||
# post_path = "https://guap.ru/rasp/?g=2"
|
||||
|
Loading…
Reference in New Issue
Block a user