Skip to content

Commit

Permalink
def update
Browse files Browse the repository at this point in the history
  • Loading branch information
dt215git committed Oct 11, 2024
1 parent d51fb15 commit 5bf2223
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_viewstate(self, content: str) -> dict:
tags = {}
soup = BeautifulSoup(content, "html.parser")
hidden_tags = soup.findAll("input", type="hidden")
for _, tag in enumerate(hidden_tags):
for tag in hidden_tags:
tags[tag.get("name")] = tag.get("value")
return tags

Expand Down

0 comments on commit 5bf2223

Please sign in to comment.