flickr.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:FBI-Scraper 作者: GKalliatakis 项目源码 文件源码
def _doget(method, auth=False, **params):
    #uncomment to check you aren't killing the flickr server
    #print "***** do get %s" % method

    params = _prepare_params(params)
    url = '%s%s/?api_key=%s&method=%s&%s%s'% \
          (HOST, API, API_KEY, method, urlencode(params),
                  _get_auth_url_suffix(method, auth, params))

    #another useful debug print statement
    if debug:       
        print "_doget", url

    return _get_data(minidom.parse(urlopen(url)))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号