发布网友
共2个回答
热心网友
自动下载URL到文件可用URLDownloadToFile(),
MS VC++ 和 SDK 中都有它. 参数说明和CALLBACK 请查VC++ 里的说明.
HRESULT URLDownloadToFile(
LPUNKNOWN pCaller,
LPCWSTR szURL,
LPCTSTR szFileName,
DWORD dwReserved,
LPBINDSTATUSCALLBACK lpfnCB
);
URLDownloadToFile downloads bits from the Internet and saves them to a file. The client can choose to be notified of progress via a notification callback.
热心网友
用dom哈
document.text就是全部的html文本
window.body.text是body范围内的html文本