Module Expr Str ImportFrom alias ImportFrom alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Str Assign NameStore Dict Str Str Str Str For NameStore Call NameLoad Str Str NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Copyright (c) 2014 Feng Wang <wffrank1987@gmail.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 crawler.contrib.yelp * optparse OptionParser N/A time N/A pprint N/A logging N/A logger N/A N/A logging getLogger __name__ N/A N/A N/A logger addHandler N/A N/A logging StreamHandler N/A N/A N/A logger setLevel N/A logging DEBUG N/A usage usage %prog [options] arg N/A parser N/A OptionParser usage usage N/A N/A N/A parser add_option -c --category dest category help the target bussiness category N/A N/A N/A parser add_option -l --location dest location help the target location/country N/A N/A N/A parser add_option -o --output dest output_dir help write out to DIR N/A N/A N/A parser add_option -v --verbose action store_true dest verbose N/A N/A N/A parser add_option -q --quiet action store_false dest verbose N/A N/A options args N/A N/A parser parse_args main N/A N/A N/A N/A N/A 
    Warnining: your ip would be banned by yelp if you don't use proxy

    goagent proxy: https://code.google.com/p/goagent/
    http://www.hidemyass.com/proxy-list/

     N/A proxies N/A http https http://23.244.180.162:8089 http://23.244.180.162:8089 N/A biz_url N/A yelp_biz_ids restaurants New+York proxies N/A N/A biz N/A yelp_biz biz_url proxies N/A N/A N/A pprint pprint biz N/A N/A N/A __name__ __main__ N/A N/A N/A main