Small encoding fix

This commit is contained in:
Sergey Karmanov 2023-03-17 00:39:29 +03:00
parent 4b822855a7
commit 52684a0b7c
Signed by: serega404
GPG Key ID: 97CADD982D88DF68

View File

@ -18,7 +18,7 @@ if (site.status_code != 200):
print("Ali request error: " + str(site.status_code)) print("Ali request error: " + str(site.status_code))
exit() exit()
soup = BeautifulSoup(site.text, "html.parser") soup = BeautifulSoup(site.content, "html.parser")
tmpstring = " "*20 tmpstring = " "*20
for tag in soup.find_all("div"): for tag in soup.find_all("div"):