bubble

bubble / Url2Commons / 0.1.1

Url 2 Commons

Royalty Free
Extracts emails, URLs, phones, dates, times, credit cards, addresses, bitcoin addresses, prices, IP... (more in docs)
Language
Python 3.x
Metrics
API Calls - 173 Avg call duration - 1.42sec
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.
This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks, however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls.

Run an Example

Input
Output
[
  [
    "phone_type2",
    "+1-415-800-5959 ",
    " United States +1-415-800-5959 +1-855-424-7262",
    767,
    783
  ],
  [
    "phone_type2",
    "+1-855-424-7262 ",
    "1-415-800-5959 +1-855-424-7262 (toll-free) Nam",
    783,
    799
  ],
  [
    "phone_type2",
    "603-476-5998",
    "et 03254 Phone 603-476-5998 Mobile 603-385",
    883,
    895
  ],
  [
    "phone_type2",
    "603-385-7175",
    "76-5998 Mobile 603-385-7175 Credit Card Nu",
    903,
    915
  ],
  [
    "phone_type2",
    "(123)111-2222 ",
    "o contact me t (123)111-2222 ext 897. 12-08-",
    1343,
    1357
  ],
  [
    "credit_card",
    "5524026804480334",
    "it Card Number 5524026804480334 CVV2 244 Expir",
    935,
    951
  ],
  [
    "ipv4",
    "8.8.8.8",
    "mma: For IPv4: 8.8.8.8 and/or 8.8.4.4",
    1945,
    1952
  ],
  [
    "ipv4",
    "8.8.4.4",
    "8.8.8.8 and/or 8.8.4.4. For IPv6: 200",
    1960,
    1967
  ],
  [
    "po_box",
    "PO Box 123456",
    "012 delive rto PO Box 123456. hse at 456 wo",
    1388,
    1401
  ],
  [
    "link",
    "google.com",
    "r 21:00. Visti google.com for more info.",
    1145,
    1155
  ],
  [
    "link",
    "ftp://ftp.funet.fi/pub/standards/RFC/rfc959.txt",
    " 2001 Download ftp://ftp.funet.fi/pub/standards/RFC/rfc959.txt and ftp://ftp.",
    1192,
    1239
  ],
  [
    "link",
    "ftp://ftp.funet.fi/pub/standards/RFC/rfc959.txt",
    "rfc959.txt and ftp://ftp.funet.fi/pub/standards/RFC/rfc959.txt to learn more ",
    1244,
    1291
  ],
  [
    "link",
    "https://news.ycombinator.com",
    "0.15 to 1130?? https://news.ycombinator.com/ -------------",
    1537,
    1565
  ],
  [
    "link",
    "github.com",
    "enSimpleLidar (github.com) 93 points by ",
    1680,
    1690
  ],
  [
    "link",
    "medium.com",
    "ix FlameScope (medium.com) 117 points by",
    1773,
    1783
  ],
  [
    "acronym",
    "KB",
    "(26 sloc) 1.42 KB Elon Musk was ",
    592,
    594
  ],
  [
    "acronym",
    "NASA",
    " done work for NASA. CEO of Tesla ",
    724,
    728
  ],
  [
    "acronym",
    "CEO",
    "work for NASA. CEO of Tesla & Spa",
    730,
    733
  ],
  [
    "acronym",
    "CVV2",
    "24026804480334 CVV2 244 Expires 9/",
    952,
    956
  ],
  [
    "acronym",
    "BTC",
    "yz drug send 4 BTC to 1LgvButDNV2",
    1015,
    1018
  ],
  [
    "acronym",
    "DNV2",
    " BTC to 1LgvButDNV2rVHe9DATt6WqE8t",
    1029,
    1033
  ],
  [
    "acronym",
    "VH",
    "to 1LgvButDNV2rVHe9DATt6WqE8tKZE",
    1034,
    1036
  ],
  [
    "acronym",
    "DAT",
    "LgvButDNV2rVHe9DATt6WqE8tKZEKvaK2",
    1038,
    1041
  ],
  [
    "acronym",
    "E8",
    "NV2rVHe9DATt6WqE8tKZEKvaK2. Jul.",
    1045,
    1047
  ],
  [
    "acronym",
    "KZEK",
    "rVHe9DATt6WqE8tKZEKvaK2. Jul. 22th",
    1048,
    1052
  ],
  [
    "acronym",
    "K2",
    "ATt6WqE8tKZEKvaK2. Jul. 22th, 20",
    1054,
    1056
  ],
  [
    "acronym",
    "RFC",
    "/pub/standards/RFC/rfc959.txt and",
    1225,
    1228
  ],
  [
    "acronym",
    "RFC",
    "/pub/standards/RFC/rfc959.txt to ",
    1277,
    1280
  ],
  [
    "acronym",
    "RFC",
    "arn more about RFCs. Feel fee to ",
    1312,
    1315
  ],
  [
    "acronym",
    "PO",
    "012 delive rto PO Box 123456. hs",
    1388,
    1390
  ],
  [
    "acronym",
    "A.M.",
    "by 15 Aug 11:30A.M. Lets hav ea di",
    1450,
    1454
  ],
  [
    "acronym",
    "DNS",
    "omments In the DNS servers field,",
    1852,
    1855
  ],
  [
    "acronym",
    "DNS",
    " Google Public DNS IP addresses, ",
    1895,
    1898
  ],
  [
    "acronym",
    "IP",
    "gle Public DNS IP addresses, sep",
    1899,
    1901
  ],
  [
    "acronym",
    "IP",
    "y a comma: For IPv4: 8.8.8.8 and",
    1939,
    1941
  ],
  [
    "acronym",
    "IP",
    "r 8.8.4.4. For IPv6: 2001:4860:4",
    1973,
    1975
  ],
  [
    "acronym",
    "API",
    "Contact GitHub API Training Shop ",
    2183,
    2186
  ],
  [
    "street_address",
    "1971 326a Whatever Street 03254",
    " Birthday 2/27/1971 326a Whatever Street 03254 Phone 603-476-",
    845,
    876
  ],
  [
    "street_address",
    " 456 woodsville ave.",
    " 123456. hse at 456 woodsville ave. Need by 15 Aug",
    1409,
    1429
  ],
  [
    "street_address",
    "blk 54a Turing st. #06-14",
    " discussion at blk 54a Turing st. #06-14. maybe 16 Apr ",
    1481,
    1506
  ],
  [
    "phone",
    "+1-415-800-5959",
    " United States +1-415-800-5959 +1-855-424-726",
    767,
    782
  ],
  [
    "phone",
    "+1-855-424-7262",
    "1-415-800-5959 +1-855-424-7262 (toll-free) Na",
    783,
    798
  ],
  [
    "phone",
    "603-476-5998",
    "et 03254 Phone 603-476-5998 Mobile 603-385",
    883,
    895
  ],
  [
    "phone",
    "603-385-7175",
    "76-5998 Mobile 603-385-7175 Credit Card Nu",
    903,
    915
  ],
  [
    "phone",
    "(123)111-2222",
    "o contact me t (123)111-2222 ext 897. 12-08",
    1343,
    1356
  ],
  [
    "zip_code",
    "03254",
    "hatever Street 03254 Phone 603-476-",
    871,
    876
  ],
  [
    "ipv6",
    "2001:4860:4860::8888",
    "4.4. For IPv6: 2001:4860:4860::8888 and/or 2001:48",
    1979,
    1999
  ],
  [
    "ipv6",
    "2001:4860:4860::8844",
    "0::8888 and/or 2001:4860:4860::8844. Jun 3, 2016 C",
    2007,
    2027
  ],
  [
    "time",
    "1.42",
    "ines (26 sloc) 1.42 KB Elon Musk w",
    587,
    591
  ],
  [
    "time",
    "0334",
    "er 5524026804480334 CVV2 244 Expir",
    947,
    951
  ],
  [
    "time",
    "2021",
    " 244 Expires 9/2021 1-12-15 Hi guy",
    971,
    975
  ],
  [
    "time",
    "2015",
    "K2. Jul. 22th, 2015 the ahem secre",
    1069,
    1073
  ],
  [
    "time",
    "2016",
    " is on 1 April 2016 9:00 am to 2 A",
    1110,
    1114
  ],
  [
    "time",
    "9:00 am",
    "n 1 April 2016 9:00 am to 2 Apr 21:00",
    1115,
    1122
  ],
  [
    "time",
    "21:00",
    "00 am to 2 Apr 21:00. Visti google.",
    1132,
    1137
  ],
  [
    "time",
    "2001",
    "e info. 28 Jun 2001 Download ftp:/",
    1178,
    1182
  ],
  [
    "time",
    "2222",
    " me t (123)111-2222 ext 897. 12-08",
    1352,
    1356
  ],
  [
    "time",
    "2012",
    "ext 897. 12-08-2012 delive rto PO ",
    1372,
    1376
  ],
  [
    "time",
    "11:30A.M.",
    "Need by 15 Aug 11:30A.M. Lets hav ea di",
    1445,
    1454
  ],
  [
    "time",
    "10.15",
    ". maybe 16 Apr 10.15 to 1130?? http",
    1521,
    1526
  ],
  [
    "time",
    "1130",
    "6 Apr 10.15 to 1130?? https://news",
    1530,
    1534
  ],
  [
    "time",
    "2001",
    "4.4. For IPv6: 2001:4860:4860::888",
    1979,
    1983
  ],
  [
    "time",
    "2001",
    "0::8888 and/or 2001:4860:4860::884",
    2007,
    2011
  ],
  [
    "time",
    "2016",
    "::8844. Jun 3, 2016 Copy lines Cop",
    2036,
    2040
  ],
  [
    "time",
    "2018",
    "p to Line Go © 2018 GitHub, Inc. T",
    2115,
    2119
  ],
  [
    "date",
    "June 28, 1971",
    "sk was born on June 28, 1971, in Pretoria, ",
    617,
    630
  ],
  [
    "date",
    "2/27/1971",
    "wards Birthday 2/27/1971 326a Whatever ",
    840,
    849
  ],
  [
    "date",
    "1-12-15",
    "Expires 9/2021 1-12-15 Hi guys to buy",
    976,
    983
  ],
  [
    "date",
    "Jul. 22th, 2015",
    "WqE8tKZEKvaK2. Jul. 22th, 2015 the ahem secre",
    1058,
    1073
  ],
  [
    "date",
    "1 Apr",
    "et event is on 1 April 2016 9:00 am",
    1102,
    1107
  ],
  [
    "date",
    "2 Apr 21",
    "016 9:00 am to 2 Apr 21:00. Visti goog",
    1126,
    1134
  ],
  [
    "date",
    "28 Jun 2001",
    "for more info. 28 Jun 2001 Download ftp:/",
    1171,
    1182
  ],
  [
    "date",
    "12-08-2012",
    "-2222 ext 897. 12-08-2012 delive rto PO ",
    1366,
    1376
  ],
  [
    "date",
    "15 Aug 11",
    "e ave. Need by 15 Aug 11:30A.M. Lets ha",
    1438,
    1447
  ],
  [
    "date",
    "16 Apr 10",
    " #06-14. maybe 16 Apr 10.15 to 1130?? h",
    1514,
    1523
  ],
  [
    "date",
    "Jun 3, 2016",
    "60:4860::8844. Jun 3, 2016 Copy lines Cop",
    2029,
    2040
  ],
  [
    "btc_address",
    "1LgvButDNV2rVHe9DATt6WqE8tKZEKvaK2",
    " send 4 BTC to 1LgvButDNV2rVHe9DATt6WqE8tKZEKvaK2. Jul. 22th, 20",
    1022,
    1056
  ],
  [
    "ltc_address",
    "LgvButDNV2rVHe9DATt6WqE8tKZEKvaK2",
    "send 4 BTC to 1LgvButDNV2rVHe9DATt6WqE8tKZEKvaK2. Jul. 22th, 20",
    1023,
    1056
  ]
]

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



algo run bubble/Url2Commons/0.1.1 -d '"https://github.com/indir1/public/blob/master/getcommons-text-short-example.txt"' --timeout 300
  
CLI Docs