>> Delete Reply from No. 3229 article
No. RE: 쪼금 수정했음.

등록 2003-01-11 17:44:00     조회 5
이름 bug    

		#!/bin/sh
 # Donga Manhwa V 0.1 by Yang
count=1
FILE=result.tmp
URL1="http://www.donga.com/cartoon/dot/index.php?gubun="
URL2="http://www.donga.com/cartoon/dot/images/"
 temp[0]=$(lynx -source $URL1"0102&page=1" | grep "<td><font size='2'>" | sed -e 's/<[^>]+>//g' -e 's////g')
temp[1]=$(lynx -source $URL1"0102&page=2" | grep "<td><font size='2'>" | sed -e 's/<[^>]+>//g' -e 's////g')
temp[2]=$(lynx -source $URL1"0102&page=3" | grep "<td><font size='2'>" | sed -e 's/<[^>]+>//g' -e 's////g')
 	for i in ${temp[@]}
		do echo $i >> ${FILE}
	done
 end_date=`tail -1 ${FILE}`
 until [ "$search_date" -eq "$end_date" ]
do
	search_date=`head -$count ${FILE} | tail -1`
	let "count +=1"
	wget $URL2"0102/"$search_date"_0.jpg"
done
 	rm ${FILE}
	mkdir -p mkdir manhwa/kkobul | mv *.jpg ./manhwa/kkobul
 exit 0
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved