From 807d6a1a68a4a3ae6beb9adcf17814cb73b6db31 Mon Sep 17 00:00:00 2001 From: gmarik Date: Mon, 1 Nov 2010 01:12:32 -0500 Subject: [PATCH] scraping with vim --- autoload/vundle-search.vim | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 autoload/vundle-search.vim diff --git a/autoload/vundle-search.vim b/autoload/vundle-search.vim new file mode 100644 index 0000000..55676bc --- /dev/null +++ b/autoload/vundle-search.vim @@ -0,0 +1,4 @@ +let scripts=tempname() | exec '!curl http://vim-scripts.org/scripts.html >'.scripts +exec 'e '.scripts +%s/\_.\s\+\(\d\+\)<\/td>\_.\s\+\([^<]\+\)<\/td>\_\s\+\([^<\/]\+\)<\/a><\/td>\_\s\+\(.*\)<\/td>/Script:\1 \2 \4 \3 \5/g +