From 72bd2a37bc457bd9919e9460559048943234629c Mon Sep 17 00:00:00 2001 From: woozu-shin Date: Mon, 13 May 2024 00:16:06 +0900 Subject: [PATCH] Add header in test --- .../src/test/resources/testdata/fmkorea/header | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 shopping-crawler/src/test/resources/testdata/fmkorea/header diff --git a/shopping-crawler/src/test/resources/testdata/fmkorea/header b/shopping-crawler/src/test/resources/testdata/fmkorea/header new file mode 100644 index 0000000..fc7f555 --- /dev/null +++ b/shopping-crawler/src/test/resources/testdata/fmkorea/header @@ -0,0 +1,17 @@ +curl 'https://www.fmkorea.com/hotdeal' \ + -H '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.7' \ + -H 'accept-language: ko-KR,ko;q=0.9,en-US;q=0.8,en;q=0.7' \ + -H 'cache-control: max-age=0' \ + -H 'cookie: PHPSESSID=gkpqv1r1odheqkqpal2eh24e4j; _ga=GA1.1.1510788361.1715523165; use_np=use_np; readed_documents=7021938967.7023825588.7023440365; _ga_GFCL6FWBKV=GS1.1.1715523165.1.1.1715526874.51.0.0' \ + -H 'dnt: 1' \ + -H 'priority: u=0, i' \ + -H 'referer: https://www.fmkorea.com/index.php?mid=hotdeal&page=10' \ + -H 'sec-ch-ua: "Chromium";v="124", "Google Chrome";v="124", "Not-A.Brand";v="99"' \ + -H 'sec-ch-ua-mobile: ?0' \ + -H 'sec-ch-ua-platform: "macOS"' \ + -H 'sec-fetch-dest: document' \ + -H 'sec-fetch-mode: navigate' \ + -H 'sec-fetch-site: same-origin' \ + -H 'sec-fetch-user: ?1' \ + -H 'upgrade-insecure-requests: 1' \ + -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36' \ No newline at end of file