specrom

specrom / Yellowpages_Extraction / 1.1.3

Extract/Scrape From Yellowpages (dot) com

200 Credit Royalty
Extract search results from yellowpages.com by specifying search query and location
Language
Python 3.x
Metrics
API Calls - 134 Avg call duration - 22.54sec
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
{
  "csvfile_url": "https://e1-testing-public-bucket.s3.amazonaws.com/6d08cd1e-a9cb-494f-8c8c-ea692ef99baf.csv",
  "details": [
    {
      "address": "240 Peachtree St NW  Atlanta, GA 30303",
      "email": [
        "melissa@melissalibbypr.com",
        "raysinthecity@raysrestaurants.com"
      ],
      "name": "Ray's In The City",
      "phone_number": "(404) 524-9224",
      "website_url": "http://www.raysrestaurants.com/raysinthecity/home",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/rays-in-the-city-1271836"
    },
    {
      "address": "4805 Briarcliff Rd NE  Atlanta, GA 30345",
      "email": [],
      "name": "Cook Daddy's",
      "phone_number": "(678) 292-6569",
      "website_url": "http://www.cookdaddys.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/cook-daddys-480143686?lid=1000437168338"
    },
    {
      "address": "3130 Piedmont Rd NE  Atlanta, GA 30305",
      "email": [
        "taniarichardson@libertyhousemail.com"
      ],
      "name": "Bones Restaurant",
      "phone_number": "(404) 237-2663",
      "website_url": "http://www.bonesrestaurant.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/bones-restaurant-9780791"
    },
    {
      "address": "438 Moreland Ave NE  Atlanta, GA 30307",
      "email": [
        "vortexl5p@hotmail.com"
      ],
      "name": "The Vortex",
      "phone_number": "(404) 688-1828",
      "website_url": "http://www.thevortexbarandgrill.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/the-vortex-6087869"
    },
    {
      "address": "265 Pharr Rd NE  Atlanta, GA 30305",
      "email": [
        "ggotchev@buckheadrestaurants.com"
      ],
      "name": "Atlanta Fish Market",
      "phone_number": "(404) 262-3165",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/atlanta-fish-market-5738121"
    },
    {
      "address": "255 E Paces Ferry Rd NE  Atlanta, GA 30305",
      "email": [
        "atlanta@tcgdine.com"
      ],
      "name": "The Capital Grille",
      "phone_number": "(404) 262-1162",
      "website_url": "http://www.thecapitalgrille.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/the-capital-grille-5353080"
    },
    {
      "address": "1077 Juniper St NE  Atlanta, GA 30309",
      "email": [
        "fbragg@metrocafes.com"
      ],
      "name": "Einstein's",
      "phone_number": "(404) 876-7925",
      "website_url": "http://einsteinsatlanta.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/einsteins-13473704"
    },
    {
      "address": "985 Monroe Dr NE  Atlanta, GA 30308",
      "email": [
        "cgiadmin@yourhostingaccount.com"
      ],
      "name": "Mediterranean Grill",
      "phone_number": "(404) 917-1100",
      "website_url": "http://www.mediterraneangrill.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/mediterranean-grill-48460"
    },
    {
      "address": "500 Pharr Rd NE  Atlanta, GA 30305",
      "email": [
        "dish@buckheadrestaurants.com"
      ],
      "name": "Pricci",
      "phone_number": "(404) 237-2941",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/pricci-12576029"
    },
    {
      "address": "2964 Peachtree Rd NW  Atlanta, GA 30305",
      "email": [
        "atln.banquet@bbrg.com"
      ],
      "name": "Brio Tuscan Grille",
      "phone_number": "(404) 601-5555",
      "website_url": "http://www.brioitalian.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/brio-tuscan-grille-5610730"
    },
    {
      "address": "6700 Powers Ferry Rd NW  Atlanta, GA 30339",
      "email": [
        "melissa@melissalibbypr.com"
      ],
      "name": "Ray's On The River",
      "phone_number": "(770) 955-1187",
      "website_url": "http://www.raysrestaurants.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/rays-on-the-river-43192"
    },
    {
      "address": "1 Galleria Pkwy SE  Atlanta, GA 30339",
      "email": [
        "info@bigchowgrill.com"
      ],
      "name": "Big Chow Grill",
      "phone_number": "(770) 405-2464",
      "website_url": "http://www.bigchowgrill.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/big-chow-grill-2397173"
    },
    {
      "address": "4629 Wieuca Rd NE  Atlanta, GA 30342",
      "email": [
        "fellinispizza@earthlink.net"
      ],
      "name": "Fellini's Pizza",
      "phone_number": "(404) 303-8248",
      "website_url": "http://www.fellinisatlanta.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/fellinis-pizza-16129859"
    },
    {
      "address": "685 11th St NW  Atlanta, GA 30318",
      "email": [],
      "name": "Six Feet Under Pub & Fish House",
      "phone_number": "(404) 810-0040",
      "website_url": "http://www.sixfeetunder.net",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/six-feet-under-pub-fish-house-3991399"
    },
    {
      "address": "357 Edgewood Ave SE  Atlanta, GA 30312",
      "email": [
        "matt@nonisdeli.com"
      ],
      "name": "Noni's",
      "phone_number": "(404) 343-1808",
      "website_url": "http://www.nonisdeli.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/nonis-13633077"
    },
    {
      "address": "200 Peachtree St NW  Atlanta, GA 30303",
      "email": [
        "info@sweetgeorgiasjukejoint.com"
      ],
      "name": "Sweet Georgia Juke Joint",
      "phone_number": "(404) 230-5853",
      "website_url": "http://www.sweetgeorgiasjukejoint.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/sweet-georgia-juke-joint-461590237"
    },
    {
      "address": "4400 Ashford Dunwoody Rd NE  Atlanta, GA 30346",
      "email": [
        "mg0162@maggianos.com",
        "info@maggianos.com"
      ],
      "name": "Maggiano's Little Italy",
      "phone_number": "(770) 804-3313",
      "website_url": "http://www.maggianos.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/maggianos-little-italy-467215654"
    },
    {
      "address": "3424 Peachtree Rd NE  Atlanta, GA 30326",
      "email": [
        "nypatl1@bellsouth.net"
      ],
      "name": "New York Prime",
      "phone_number": "(404) 846-0644",
      "website_url": "http://www.newyorkprime.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/new-york-prime-4832409"
    },
    {
      "address": "5181 Buford Hwy NE  Atlanta, GA 30340",
      "email": [],
      "name": "Bo Bo Garden Asian Cuisine",
      "phone_number": "(678) 547-1881",
      "website_url": "http://www.bobogardenasian.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/bo-bo-garden-asian-cuisine-11724775"
    },
    {
      "address": "1230 Virginia Ave  Atlanta, GA 30344",
      "email": [
        "sfotheri@columbus.rr.com"
      ],
      "name": "Ruby Tuesday",
      "phone_number": "(404) 559-4887",
      "website_url": "http://www.rubytuesday.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/ruby-tuesday-12057674"
    },
    {
      "address": "371 Boulevard SE  Atlanta, GA 30312",
      "email": [],
      "name": "Burger Joy BBQ Wings",
      "phone_number": "(404) 588-0830",
      "website_url": "http://burgerjoyatlanta.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/burger-joy-bbq-wings-458821034"
    },
    {
      "address": "4505 Ashford Dunwoody Rd NE  Atlanta, GA 30346",
      "email": [],
      "name": "Houlihan's",
      "phone_number": "(770) 394-8921",
      "website_url": "http://www.houlihans.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/houlihans-451166489"
    },
    {
      "address": "1198 Howell Mill Rd NW  Atlanta, GA 30318",
      "email": [
        "aquatrano@eatoutoften.net",
        "kcarlisle@eatoutoften.net"
      ],
      "name": "Star Provisions",
      "phone_number": "(404) 365-0410",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/star-provisions-3525983"
    },
    {
      "address": "519 E Paces Ferry Rd NE  Atlanta, GA 30305",
      "email": [
        "marco@anticaposta.com"
      ],
      "name": "Antica Posta Restaurant",
      "phone_number": "(404) 262-7112",
      "website_url": "http://www.anticaposta.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/antica-posta-restaurant-11556365"
    },
    {
      "address": "3101 Cobb Pkwy SE  Atlanta, GA 30339",
      "email": [
        "cumberland@copelandsatlanta.com",
        "billgoudey@coplelandsatlanta.com"
      ],
      "name": "Copeland's of New Orleans",
      "phone_number": "(770) 612-3311",
      "website_url": "http://www.copelandsatlanta.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/copelands-of-new-orleans-8091922"
    },
    {
      "address": "1021 Virginia Ave NE  Atlanta, GA 30306",
      "email": [
        "goincoastal@live.com"
      ],
      "name": "Goin' Coastal",
      "phone_number": "(404) 941-9117",
      "website_url": "http://www.goincoastalseafood.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/goin-coastal-453957638"
    },
    {
      "address": "133 Luckie St NW  Atlanta, GA 30303",
      "email": [
        "careers@tedsmontanagrill.com",
        "sscandrol@tedsmontanagrill.com"
      ],
      "name": "Ted's Montana Grill",
      "phone_number": "(404) 521-9796",
      "website_url": "http://www.tedsmontanagrill.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/teds-montana-grill-8269613"
    },
    {
      "address": "7870 Roswell Rd  Atlanta, GA 30350",
      "email": [],
      "name": "Tijuana Joe's",
      "phone_number": "(770) 817-5617",
      "website_url": "http://tijuanajoes.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/tijuana-joes-22286636"
    },
    {
      "address": "1280 Peachtree St NE  Atlanta, GA 30309",
      "email": [
        "table1280@woodruffcenter.org"
      ],
      "name": "Table 1280",
      "phone_number": "(404) 897-1280",
      "website_url": "http://www.table1280.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/table-1280-15546502"
    },
    {
      "address": "2166 Peachtree Rd NW  Atlanta, GA 30309",
      "email": [],
      "name": "Houston's Restaurants",
      "phone_number": "(404) 351-2442",
      "website_url": "http://www.hillstone.com",
      "yp_url": "https://www.yellowpages.com/atlanta-ga/mip/houstons-restaurants-468322152"
    }
  ],
  "next_page": "2"
}

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 specrom/Yellowpages_Extraction/1.1.3 -d '{"search_terms": "restaurants", "location":"Atlanta, GA", "fetch_emails":"True", "csv":"True", "page":"1"}' --timeout 300
  
CLI Docs