有没有一个函数,你给出一个网站的URL,它返回一个字符串中的源代码?
file_get_contents
file_get_contents('https://www.example.com');
cURL HTTP
you will likely want use a DOM Parser