diff options
| author | typebrook <typebrook@gmail.com> | 2019-11-29 11:53:21 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-11-29 11:53:21 +0800 |
| commit | abbae468e09d98535d6ee286967e756644535612 (patch) | |
| tree | 4cb4aa4f8c86c8eb8e5d2c8f141cf13d70d34bc5 | |
| parent | 418a6711d5718689124ef78805976287a368097d (diff) | |
update
| -rwxr-xr-x | scripts/yaoren.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/yaoren.sh b/scripts/yaoren.sh new file mode 100755 index 0000000..58d95df --- /dev/null +++ b/scripts/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 | ||