Cách để khuân hết các web bullets tại trang http://websitebullets.com/ về ổ cứng
Cách 1 - Dùng wget
Tải WGET tại http://users.ugent.be/~bpuype/wget/wget.exe
Copy source của site, xóa những thẻ html không cần thiết chỉ để lại
/bullet/413/3.gif /bullet/413/4.gif /bullet/413/5.gif /bullet/414/1.gif /bullet/414/2.gif
Copy paste vào notepad++, Vào Search > Find > Replace
Find what: paste khoảng trống giữa các bullet ví dụ 1 đoạn " /"
Replace with: "\n/"
Và Search Mode > Extended và
Click vào nút Replace All
Tất cả dữ liệu hàng nganh thành cột
Dùng Excel để tạo các câu lệnh tải về ổ cứng ví dụ
wget --output-document webbullets/vietpublic2171.gif http://www.websitebullets.com/bullet/217/1.gif
Lưu vào thư mục webbullets với file có prefix là vietpublic
Cách 2 dùng PHP, tạo 1 file vpgetfiles.php có nội dung ví dụ:
và chạy ...
file_put_contents('../webbullets/vietpublic2171.gif', file_get_contents('http://www.websitebullets.com/bullet/217/1.gif'));
?>
Dùng wget qua proxy server
wget.exe --execute=http_proxy=192.168.0.147:8080 http://joomlacode.org/gf/download/frsrelease/19239/158104/Joomla_3.2.3-Stable-Full_Package.zip
Nhận xét