Decode unreadable "Bangla" Text from website (webscrapping)

Viewed 28

i was scraping some websites product, and when the product name is in "Bangla" it output like this

শà§à¦à¦¯à§à¦¬Â à¦à¦¹à¦¾à¦®à§à¦®à¦¦

here's what i've done so far...

url = 'https://bikroy.com/en/ad/riyyelmi-baadds-eyyaar-2-ekttibh-nyyej-kenseleshn-25ddibi-for-sale-chattogram'
r = requests.get(url,)
soup = BeautifulSoup(r.text, 'html.parser', from_encoding='utf-8',)
print(soup.find('div', class_='contact-name--m97Sb').text)

output : শà§à¦à¦¯à§à¦¬Â à¦à¦¹à¦¾à¦®à§à¦®à¦¦

expected output : শোআযেব আহাম্মদ

How do i decode this Bangla Unreadable TEXT?

0 Answers
Related