https://psycnet.apa.org/record/2016-47119-002
When I access the above URL by chrome (in a private window), I can see the first request which corresponds to the following curl command. But when I call this curl command in the command line, it will be detected by distil network showing <div id="distilIdentificationBlock"> </div>
.
This looks strange to me as this is the first request. Unless there is a difference between the requests send by curl and chrome, there is no way by which distil network can tell what request is sent by a bot or by a real browser. Does anybody know what is the difference between the curl request and the chrome request?
curl 'https://psycnet.apa.org/record/2016-47119-002' \
-H 'Connection: keep-alive' \
-H 'Pragma: no-cache' \
-H 'Cache-Control: no-cache' \
-H 'Upgrade-Insecure-Requests: 1' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \
-H 'Sec-Fetch-Site: none' \
-H 'Sec-Fetch-Mode: navigate' \
-H 'Sec-Fetch-User: ?1' \
-H 'Sec-Fetch-Dest: document' \
-H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7' \
--compressed
P.S. The problem is same if I use firefox to extract the corresponding curl command. So the difference between firefox request and curl request is also relevant.
