Php regular expression captures webpage content & nbsp; I want to capture the link of HD video on the youku network and send it to the mobile client, however, the capturing time is not ideal (about 50 videos, the computer takes more than 6 seconds to capture and display on the webpage, and 30 seconds to send the video to the mobile phone). What are the optimization methods? Php? Php regular expressions capture webpage content
I want to capture the link of the HD video on the youku network and send it to the mobile client. However, the capture time is not ideal (about 50 videos, and it takes more than 6 seconds for the computer to capture and display the video on the webpage, it takes more than 30 seconds to send the message to your mobile phone.) what are the optimization methods?
Php? Webpage content capture optimization
Share:
------ Solution --------------------
Change Optical fiber!
------ Solution --------------------
The main user wants to capture the link, not the video content. use CURL
------ Solution --------------------
Use curl_multi_exec () for concurrent capturing