Here's an extremely simple script(5 lines!) that I wrote. I'd like to fetch HTML data specifically including the subject_text and the price class.
import re
from urllib import request
url = 'https://section.cafe.naver.com/ca-fe/home/search/c-articles?q=%EB%A1%A4%EB%9E%9C%EB%93%9C&ss=ON_SALE'
contents = str(request.urlopen(url).read().decode("utf8"))
print(contents)
But when I print the contents, there seems to be a noscript error. Because it says like this in the output:
<noscript><strong>We're sorry but web-pc doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript>
When I checked the Chrome option, Java script was enabled. I disabled addblock and tried this in incognito mode but none of them worked. All other details in other tags/class are still there but cannot be fetched. Any ideas would be much appreciated. +URL page is not in English but still, you won't have any problems reading the html scripts.