I am trying to scrape all the subject titles of all the forum posts on this website. I am not sure how to go about this as the HTML format of the forum website is not what I am familiar with.
from urllib.request import urlopen as uReq
from bs4 import BeautifulSoup as soup
my_url = 'http://thailove.net/bbs/board.php?bo_table=ent'
uClient = uReq(my_url)
page_html = uClient.read()
uClient.close()
page_soup = soup(page_html, "html.parser")
#I don't think this is correct, but not sure on how else to to do this...
containers = page_soup.findAll("td",{"class":"td_subject"})
for container in containers:
subject = container.a.font.font.contents
#similarly not sure this is correct
print("subject: ", subject)
Please let me know what I should do. Also keep in mind that the website is in Korean but can be easily translated into English if need be.