dl.vim : converts file links to GetRight GRX files
script karma |
Rating 0/0,
Downloaded by 570 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Alex Jakushev |
|
script type |
utility |
|
description |
Use this script when you have a www page with the list of downloadable
links and want to download all/some of them using GetRight.
The script assumes that you have a file, each line of which containing a link(s)
to file you want to download. Such file may be produced, for examle, if You open
some html file and issue a command :
:gl /href=".*zip"/ . write! >> files.grx
:e files.grx
When loaded, the script loads and maps following functions :
1. UnHref() - which removes everything except URLs themselves, and puts every URL on a single line
2. Ability to set the destination directory
3. MakeList() - Function that converts pure URLs to GetRight acceptable information - before invoking it,
each line should contain pure single URL.
|
|
install details |
Load the script using :so command, then use mapped functions. If you forgot the mappings,
reload the script again, it shows brief description on loading. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.143.244.83
|