쿠팡 크롤링시 요청헤더가 맞지 않으면 작동을 안한다.
이것저것 해보고 성공한 헤더값
[code]
header = {
‘Referer’: ‘https://www.google.com/’,
‘accept’: ‘text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9’,
‘accept-encoding’: ‘gzip, deflate, br’,
‘accept-language’: ‘ko,th;q=0.9,en-US;q=0.8,en;q=0.7,ru;q=0.6,ko-KR;q=0.5,la;q=0.4’,
‘User-Agent’: “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36”
}
[/code]