extract_url.pl

  831 downloads
1.5.8 BSD License    
3.5/5 4
extract_url.pl is a Perl script that extracts URLs from correctly-encoded MIME email messages.

description

download

specifications

changelog

extract_url.pl is a Perl script that extracts URLs from correctly-encoded MIME email messages. This can be used either as a pre-parser for urlview, or to replace urlview entirely.

Why?

Urlview is a great program, but has some deficiencies. In particular, it isn't particularly configurable, and cannot handle URLs that have been broken over several lines in format=flowed delsp=yes email messages. Also, urlview doesn't eliminate duplicate URLs. This perl script handles all of that. It also sanitizes URLs so that they can't break out of the command shell.

This is designed primarily for use with the mutt emailer. The idea is that if you want to access a URL in an email, you pipe the email to a URL extractor (like this one) which then lets you select a URL to view in some third program (such as Firefox). An alternative design is to access URLs from within mutt's pager by defining macros and tagging the URLs in the display to indicate which macro to use. A script you can use to do that is tagurl.pl.
READ MORE   
Last updated on May 14th, 2013
2  
extract_url.plextract_url.pl

0 User reviews so far.

SUBMIT