aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-11-29 11:53:21 +0800
committertypebrook <typebrook@gmail.com>2019-11-29 11:53:21 +0800
commitabbae468e09d98535d6ee286967e756644535612 (patch)
tree4cb4aa4f8c86c8eb8e5d2c8f141cf13d70d34bc5 /scripts
parent418a6711d5718689124ef78805976287a368097d (diff)
update
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/yaoren.sh16
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
3curl http://blog.sina.com.cn/u/1281912467 |\
4sed -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
16sed -nr "s/.*real_src =\"(.*\/\/[^/]+\/)[^/]+(\/.*)&amp.*/\1orignal\2/p" tmp > jojo