# 웹 개발자도구에서 해당 iframe을 찾아 src주소를 입력해서 찾아들어가야함.
import requests as req
from bs4 import BeautifulSoup as bs
import pandas as pd
url = 'https://movie.naver.com'
url_sub = '/movie/bi/mi/pointWriteFormList.nhn?code=181381&type=after&isActualPointWriteExecute=false&isMileageSubscriptionAlready=false&isMileageSubscriptionReject=false'
url_final = url + url_sub
res = req.get(url_final)
soup = bs(res.content, 'lxml')
for reple in reples:
print(reple.text.strip())
# 관람객 아이콘 때문에 띄어쓰기가 되므로 삭제함.
icon = soup.select('span.ico_viewer')
for i in icon:
i.extract()
for reple in reples:
print(reple.text.strip())