- 1>1/* :
- @echo off
- cscript //Nologo //E:jscript "%~0" > a.txt
- pause & exit/b
- */
-
- var url = 'http://q10000.howbbs.com/posts/list/15681/540451.html';
- var http = new ActiveXObject('MSXML2.XMLHTTP');
- http.open('GET', url, false);
- http.send();
- var str = http.responseText.replace(/ /g, ' ').split(/\*{10}/)[1];
- var reg = /<br *\/> *(.+?)(?=<br *\/>)/g;
- while(arr = reg.exec(str)){WScript.Echo(arr[1])}
复制代码
|