Collection of Classic Posts in the Batch Processing Room of China DOS Union Forum 2008A
http://upload.cn-dos.net/img/1160.zip
1. Originally, the plan was to maintain consistency in style with the previous collection e-book. After consulting the senior producer of the previous collection e-book, it was learned that the process was quite complicated, involving modifications to html file content, conversion of encoding formats, design of CSS, etc. Therefore, the idea of spending a lot of time and energy on these superficial tasks was abandoned (actually, a big reason is that I don't know how to do it, heh heh :)).
2. The Perl code provided by moderator lxmxn was used for batch downloading posts. In order to prevent malicious people with malicious intentions from using it to maliciously download and increase the burden on the forum server, the code is not released here.
3. The html files after batch downloading were simply processed by HAT. The code is as follows:
Related posts:
Preliminary Arrangement Results of Classic Posts in the Batch Processing Room 2008A
http://www.cn-dos.net/forum/viewthread.php?tid=44324
Collection of Classic Posts in the Batch Processing Room of China DOS Union from 2004 to 2007-6-14
http://www.cn-dos.net/forum/viewthread.php?tid=31551
Re-compiled e-book by asnahu, added search function.http://www.cn-dos.net/forum/viewthread.php?tid=44836&page=4#pid329815
Local download: http://upload.cn-dos.net/img/1409.7z
E-book re-compiled, posts with point restrictions can be viewed normally.
[ Last edited by HAT on 2010-6-4 at 10:15 ]
http://upload.cn-dos.net/img/1160.zip
1. Originally, the plan was to maintain consistency in style with the previous collection e-book. After consulting the senior producer of the previous collection e-book, it was learned that the process was quite complicated, involving modifications to html file content, conversion of encoding formats, design of CSS, etc. Therefore, the idea of spending a lot of time and energy on these superficial tasks was abandoned (actually, a big reason is that I don't know how to do it, heh heh :)).
2. The Perl code provided by moderator lxmxn was used for batch downloading posts. In order to prevent malicious people with malicious intentions from using it to maliciously download and increase the burden on the forum server, the code is not released here.
3. The html files after batch downloading were simply processed by HAT. The code is as follows:
@echo off
rem Used the third-party command tool sed.exe(4.1.4)
set "htmlDir=C:\test\a"
echo Please wait for minutes...
for /r "%htmlDir%" %%a in (*.html) do (
sed -i "s/<img src=\"images\/default\/logo\.gif\" alt=\"Board logo\" border=\"0\">//g" "%%a"
)
for /r "C:\Test\Preliminary Arrangement Results of Classic Posts in the Batch Processing Room 2008A\" %%a in (*.txt) do (
for /f "usebackq tokens=2-3 delims={}" %%h in ("%%a") do (
ren "%htmlDir%\%%h".html "%%i.html"
)
)Related posts:
Preliminary Arrangement Results of Classic Posts in the Batch Processing Room 2008A
http://www.cn-dos.net/forum/viewthread.php?tid=44324
Collection of Classic Posts in the Batch Processing Room of China DOS Union from 2004 to 2007-6-14
http://www.cn-dos.net/forum/viewthread.php?tid=31551
Re-compiled e-book by asnahu, added search function.http://www.cn-dos.net/forum/viewthread.php?tid=44836&page=4#pid329815
Local download: http://upload.cn-dos.net/img/1409.7z
E-book re-compiled, posts with point restrictions can be viewed normally.
[ Last edited by HAT on 2010-6-4 at 10:15 ]
Recent Ratings for This Post
( 5 in total)
Click for details

StickyIII