# coding: utf-8
import requests, re
H={'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'}
u='https://www.kisa.or.kr/20207'
html=requests.get(u,headers=H,timeout=20).content.decode('utf-8','replace')
i=html.find('sub_tab_menu')
print('--- context around first sub_tab_menu ---')
print(html[i-1500:i+1500])
