1
vibbow 2013-06-25 00:47:08 +08:00
我又想用万能的Selenium了,怎么破...
|
2
pityonline 2013-06-25 00:59:11 +08:00 via Android
for i in {1000..1999}; do wget http://www.test.com/xxx.aspx?id=${i}&zid=${i}; done
手机打的,自己看着改吧,想直接取内容可能需要 iconv 转换一下再 grep 成绩关键字,再重定向一下也可以…… |
3
binux 2013-06-25 01:26:10 +08:00 1
for i in {0..620}; do a=`expr 13130105150000 + $i`; curl -s -d '__VIEWSTATE=%2FwEPDwUKLTkyNzU2NzIyNQ9kFgICAw9kFgICAQ9kFgQCAQ8PFgIeBFRleHQFMOmrmOiAg%2BaIkOe7qeafpeivou%2B8iOS7hemZkOefs%2BWutuW6hOW4guiAg%2BeUn%2B%2B8iWRkAgMPDxYCHwAFDOiAg%2BeUn%2BWPt%2B%2B8mmRkZJF4D5%2BJKIzL6NRRoQbMxKeIMTin&__EVENTVALIDATION=%2FwEWBQKS3KfXCQLEuKKdAwKln%2FPuCgK17cLhAQKyt7rPBEXzvHlNLLgUsV4%2Bo4evX8%2BW1ikj&tbZKZ='$a'&btnSearch=%E6%9F%A5+%E8%AF%A2&hfID=1&hfZID=1' 'http://www.sjzjyksxx.com.cn/exam/depts/result.aspx?id=1&zid=1' | grep '<td bordercolordark=' | awk '{ if (NR%2==0 && NR!=8) print }' | sed -E 's/[^>]+> *([^ <]+) *<.*/\1/' | awk -v ORS=" " '{ print }' && echo -e ""; done
|
4
binux 2013-06-25 01:30:58 +08:00
| sort -k13nr | head -n10
|
7
linuxer 2013-06-25 14:55:15 +08:00
在Firefox 21.0下看3L的代码都撑开容器出现水平滚动条了。感觉还是写成.reply_content { word-break: break-all;}好点。让这些非“正常”的字符也换行。@Livid
|