import requests
from bs4 import BeautifulSoup
url = 'https://pantip.com/topic/40513315'
raw_data = requests.get(url)
raw_data.encoding = raw_data.apparent_encoding
print(raw_data.encoding)
print(raw_data.text)

9d1bb3b86265479c2eae5d560a7fe5e9c9fd3e9c
<mask token>

<mask token>
print(raw_data.encoding)
print(raw_data.text)

<mask token>
url = 'https://pantip.com/topic/40513315'
raw_data = requests.get(url)
raw_data.encoding = raw_data.apparent_encoding
print(raw_data.encoding)
print(raw_data.text)

import requests
from bs4 import BeautifulSoup
url = 'https://pantip.com/topic/40513315'
raw_data = requests.get(url)
raw_data.encoding = raw_data.apparent_encoding
print(raw_data.encoding)
print(raw_data.text)
