I used to copy curl commands with right-click and use them. Now, I want to use Selenium to retrieve values. How should I proceed?
curl ‘https://search.shopping.naver.com/api/search/all?adQuery=%EB%A9%94%EB%94%94%EC%9B%B0%20%ED%99%94%EC%9D%B4%EB%B0%94&eq=&iq=&origQuery=%EB%A9%94%EB%94%94%EC%9B%B0%20%ED%99%94%EC%9D%B4%EB%B0%94&pagingIndex=1&pagingSize=40&productSet=model&query=%EB%A9%94%EB%94%94%EC%9B%B0%20%ED%99%94%EC%9D%B4%EB%B0%94&sort=rel&viewType=list&window=&xq=’
-H ‘accept: application/json, text/plain, /‘
-H ‘accept-language: ko-KR,ko;q=0.9,en-US;q=0.8,en;q=0.7,zh-CN;q=0.6,zh;q=0.5’
…
…
…
-H ‘sec-ch-ua-bitness: “64”‘
-H ‘sec-ch-ua-form-factors: “Desktop”‘
-H ‘sec-ch-ua-full-version-list: “Whale”;v=”3.26.244.21″, “Not-A.Brand”;v=”8.0.0.0″, “Chromium”;v=”124.0.6367.221″‘
-H ‘sec-ch-ua-mobile: ?0’
-H ‘sec-ch-ua-model: “”‘
-H ‘sec-ch-ua-platform: “Windows”‘
-H ‘sec-ch-ua-platform-version: “10.0.0”‘
-H ‘sec-ch-ua-wow64: ?0’
-H ‘sec-fetch-dest: empty’
-H ‘sec-fetch-mode: cors’
-H ‘sec-fetch-site: same-origin’
-H ‘user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Whale/3.26.244.21 Safari/537.36’
I want a result like this.
ahhu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.