diff options
author | typebrook <typebrook@gmail.com> | 2020-02-27 16:32:37 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-02-27 16:32:37 +0800 |
commit | 00b136155183ae522ca458e540a8cf29bf525e74 (patch) | |
tree | c6e9d20d5021c95afc7149456d57eb435d808150 /tools/yaoren.sh | |
parent | 3fa79eb14a4c0244fb2dc4a5b805b7cffaa63770 (diff) |
update
Diffstat (limited to 'tools/yaoren.sh')
-rwxr-xr-x | tools/yaoren.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/yaoren.sh b/tools/yaoren.sh new file mode 100755 index 0000000..58d95df --- /dev/null +++ b/tools/yaoren.sh | |||
@@ -0,0 +1,16 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | curl http://blog.sina.com.cn/u/1281912467 |\ | ||
4 | sed -nr "/第二列start/{ | ||
5 | |||
6 | }" | ||
7 | # <div class="SG_connBody"> | ||
8 | # <div class="bloglist"> | ||
9 | # <div class="blog_title_h"> | ||
10 | # <span class="img1"></span> | ||
11 | # <div id="t_10001_4c686e930102z2ft" class="blog_title"> | ||
12 | # <a href="http://blog.sina.com.cn/s/blog_4c686e930102z2ft.html" target="_blank">咬人画的-秋之菜饼</a> | ||
13 | |||
14 | # | ||
15 | |||
16 | sed -nr "s/.*real_src =\"(.*\/\/[^/]+\/)[^/]+(\/.*)&.*/\1orignal\2/p" tmp > jojo | ||