It is not feasible to capture 1688 of website content. you can capture other websites. Test URL
Https://detail.1688.com/offer/520938481930.html? Spm = a260k. 635.199825914.5.MRicAH
You must be able to obtain the html code of the webpage.
I have only one row.
Script top. location. href = '/login. php'; script
It is suspected that anti-crawling is implemented.
No matter what method is used, you only need to get the html code of the real product page. thank you.
Reply to discussion (solution)
Do I have to log on to the system?
If you use CURL to simulate logon, try again.
Curl_setopt ($ ch, CURLOPT_POSTFIELDS, $ post_file); // transmits a string of all data for the HTTP "POST" operation.
Curl_setopt ($ ch, CURLOPT_COOKIEJAR, $ cookie_file); // Save the returned cookie information in the $ cookie_jar file.
Curl_exec ($ ch); // execute
Curl_close ($ ch); // Close
Do I have to log on to the system?
If you use CURL to simulate logon, try again.
Curl_setopt ($ ch, CURLOPT_POSTFIELDS, $ post_file); // transmits a string of all data for the HTTP "POST" operation.
Curl_setopt ($ ch, CURLOPT_COOKIEJAR, $ cookie_file); // Save the returned cookie information in the $ cookie_jar file.
Curl_exec ($ ch); // execute
Curl_close ($ ch); // Close
Your analysis is justified, but it is useless to me. you must obtain it.