Package fcp :: Module redirect
[hide private]
[frames] | no frames]

Module redirect

source code

Insert a redirect from a uri to an existing URI

This is the guts of the command-line front-end app fcpredirect

Example usage:

$ fcpredirect KSK@darknet USK@PFeLTa1si2Ml5sDeUy7eDhPso6TPdmw-2gWfQ4Jg02w,3ocfrqgUMVWA2PeorZx40TW0c-FiIOL-TWKQHoDbVdE,AQABAAE/Index/35/

Inserts key 'KSK@darknet', as a redirect to the 'darknet index' freesite

Functions [hide private]
 
usage(msg=None, ret=1)
Prints usage message then exits
source code
 
help()
print help options, then exit
source code
 
main()
Front end for fcpget utility
source code
Variables [hide private]
  progname = '(imported)'
  __package__ = 'fcp'