Skip to content

Commit

Permalink
update 2023年 9月11日 星期一 17时39分13秒 CST
Browse files Browse the repository at this point in the history
  • Loading branch information
No-Github committed Sep 11, 2023
1 parent 1421aa0 commit 9aea74a
Show file tree
Hide file tree
Showing 7 changed files with 2,013 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
push.sh
.idea
*.txt
dist/
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

过滤path路径

## 使用

```
./pathtrim
# 自动读取 input.txt
# 删除 output.txt
# 删除 output2.txt (第三方链接)
# 删除 output3.txt (可能需要人工确认的path)
```

## rule

1. 提取第三方路径

以 http:// 等协议开头的行
Expand Down Expand Up @@ -31,4 +44,4 @@ tftp://

5. 开头自动加 "/"

6. 双 // 过滤
6. 双 // 过滤
71 changes: 71 additions & 0 deletions input.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
http://e.baidu.com/?refer=888
http://image.baidu.com
https://pss.bdstatic.com/r/www/cache/static/protocol/https/home/js/instant_6b552f4.js
https://www.baidu.com/duty/privacysettings.html
//www.baidu.com/img/bd_logo1.png
http://v.baidu.com
modules/event/event
http://top.baidu.com
http://e.baidu.com?refer=889
https://www.hao123.com
plugins/feedback_suggest
http://passport.baidu.com
//www.baidu.com/more/
http://zhidao.baidu.com
//www.baidu.com/gaoji/advanced.html
http://wenku.baidu.com
http://music.taihe.com
https://www.baidu.com/my/index
https://www.baidu.com/search/aging-tools.html
https://dss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/w_cur-d41911290d.cur
https://dss0.bdstatic.com/5aV1bjqh_Q23odCf/static/mancard/img/qrcode_download-02b84e1f66.png
https://www.baidu.com/pctts/report/report_audio
/page/data/pageserver?errno=403&url=
/pcweb/submit/manusertips
superman/lib/event
/home/xman/show/liteoff
superman/lib/commonUtils
/home/page/data/pageserver?errno=7008&errurl=
//hpd.baidu.com/v.gif
/home/data/setups?bsToken=
superman/lib/extract_data
//www.baidu.com/home/hit/v.gif?
/home/page/data/pageserver
lib/mod_evt
/js/
lib/sbase
/page/submit/userattr
lib/log
//m.baidu.com/tc?tcreq4log=1
/page/data/pageserver?errno=2013&url=
http://sclick.baidu.com/w.gif?q=
http://eclick.baidu.com/ps_fp.htm?
http://sestat.baidu.com/webb.gif
http://ss.bdimg.com/cdn/testedge.js
superman/components/video-meet
//www.baidu.com/cache/fpid/lib_1_0.js
superman/components/aging-tools
superman/components/ai-talk-switch
http://dj0.baidu.com/v.gif?pid=315&type=2011&portrait=
http://sestat.baidu.com/mwb2.gif
https://sp1.baidu.com/5b1ZeDe5KgQFm2e88IuM_a/webb.gif
http://sclick.baidu.com/w.gif?fm=suggestion&title=%B9%D8%B1%D5&t=
/favicon.ico
common/result_page
superman/components/invoke
//www.baidu.com/cache/fpid/ielib_1_1.js
//www.baidu.com/s?wd=
superman/components/content-info
page/info
http://sclick.baidu.com/w.gif
weather/weather_ctrl
http://dj1.baidu.com/v.gif?
skin/skin_init
//www.baidu.com/cache/fpid/chromelib_1_1.js
ps/log
ps/sug
superman/components/login_guide
http://suggestion.baidu.com/su
https://sp1.baidu.com/5b1ZeDe5KgQFm2e88IuM_a/mwb2.gif
/weather/getweather?citycode=
superman/components/bbox/bbox_view
Loading

0 comments on commit 9aea74a

Please sign in to comment.