extract_url.pl is a Perl script that extracts URLs from either correctly-encoded MIME email messages or from plain text. It can be used either as a pre-parser for a URL selector (such as urlview), or as a standalone URL selector. It is very configurable, can handle URLs that have been broken over several lines in format=flowed delsp=yes email messages, and eliminates duplicate URLs. It was designed primarily for use with Mutt, but can be used by for any similar purpose. 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).
| Tags | Communications Email |
|---|---|
| Licenses | BSD Original |
| Operating Systems | OS Independent |
| Implementation | Perl |
Recent releases


Changes: This release fixes "undefined variable" errors when used without URI::Find. It can toggle between showing the context of URLs in the main list and showing the URLs themselves, as well as specify whether to show the list of URLs at first (default) or to show the list of URL contexts.


Changes: This release has better contextual text handling (it uses word boundaries instead of explicit string lengths), and pulls URLs out of HTML text in addition to HTML tags. This may be somewhat sensitive to formatting issues (unexpected line breaks, etc).


Changes: This release adds support for a configurable alternative selection key (via ALTSELECT), allowing a person to, in effect, temporarily negate the PERSISTENT setting. It adds conditional support for long options if Getopt::Long is available.


Changes: Sometimes, multipart/alternative parts don't actually have an alternative, which could confuse the script. They're now handled correctly, and MIME parsing has been made more robust.


No changes have been submitted for this release.
An AMD Family 10h (aka K10) P-State, frequency, and voltage modification utility.