diff options
author | epoch <epoch@enzo.thebackupbox.net> | 2021-10-25 07:51:04 +0000 |
---|---|---|
committer | epoch <epoch@enzo.thebackupbox.net> | 2021-10-25 07:51:04 +0000 |
commit | 84940d9b57eb4a6ab07de6b7b3058ba3c46ac8c8 (patch) | |
tree | 9ec63b359c2cadea9800c94983c3da1804da44bb /urnresolve | |
parent | 86480f1eca8820cf67c95359780c62c3a89d4485 (diff) | |
download | uritools-84940d9b57eb4a6ab07de6b7b3058ba3c46ac8c8.tar.gz uritools-84940d9b57eb4a6ab07de6b7b3058ba3c46ac8c8.zip |
auto-convert urn:btih to magnets using an external script on it... not sure where that script lives atm.
Diffstat (limited to 'urnresolve')
-rwxr-xr-x | urnresolve | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -39,3 +39,7 @@ if [ "$nid" = "fcc" ];then grep "^$nss2\s" $PREFIX/share/urn/fcc:frs | cut -f2 fi fi + +if [ "$nid" = "btih" ];then + btih2magnet "$nss" +fi |