Browse Source

scraping with vim

pull/10/head
gmarik 15 years ago
parent
commit
807d6a1a68
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      autoload/vundle-search.vim

+ 4
- 0
autoload/vundle-search.vim View File

@ -0,0 +1,4 @@
let scripts=tempname() | exec '!curl http://vim-scripts.org/scripts.html >'.scripts
exec 'e '.scripts
%s/<tr>\_.\s\+<td>\(\d\+\)<\/td>\_.\s\+<td>\([^<]\+\)<\/td>\_\s\+<td><a\s\+href="\([^"]\+\)">\([^<\/]\+\)<\/a><\/td>\_\s\+<td>\(.*\)<\/td>/Script:\1 \2 \4 \3 \5/g

Loading…
Cancel
Save