jhurliman

jhurliman / GetEMailAddresses / 0.1.2

README.md

Overview

Returns all unique email addresses found in the document text of a given webpage URL.

Usage

Input

ParameterDescription
urlURL of the webpage to fetch

Output

ParameterDescription
emailsSorted array of email address strings

Example

Input:

{
    "url": "https://en.wikipedia.org/wiki/Email_address"
}
{
    "emails": [
        ".xyz@example.com",
        "JSmith@example.com",
        "John..Doe@example.com",
        "John.Smith@example.com",
        "allowed@example.com",
        "bar@example.com",
        "c@example.com",
        "example-indeed@strange-example.com",
        "example@s.solutions",
        "foobar@example.com.",
        "fully-qualified-domain@example.com",
        "ghi@example.com",
        "joeuser@example.com.",
        "john..doe@example.com",
        "john.doe@example..com",
        "john.smith@example.com",
        "john.smith@example.com.",
        "john.smith@example.org",
        "jsmith@example.com",
        "jsmith@example.com.",
        "l@example.com",
        "other.email-with-dash@example.com",
        "prettyandsimple@example.com",
        "right@example.com",
        "sorting@example.com",
        "symbol@example.com",
        "tag@example.com",
        "user.name@example.com",
        "very.common@example.com",
        "very.unusual.@.unusual.com",
        "x@example.com",
        "xyz@example.com"
    ]
}