def main():

    proxies = {'http': 'http://23.244.180.162:8089', 'https': 'http://23.244.180.162:8089'}

    socket_proxies = {'http': 'socket5://1.ss.shadowsocks.net:65535', 'https': 'http://23.244.180.162:8089'}

    

    techs = dp_specs("http://www.dpreview.com/products/panasonic/compacts/panasonic_dmcsz3/specifications")
    print "<table>"
    for k in techs.keys():
        print "<thead><tr><th>%s<th></tr></thead>" % k
        print "<tbody>"
        for key, value in techs[k]:
            print (key, value) % '<tr><td>%s</td><td>%s</td></tr>'
        print "</tbody>"
    # for k in techs:
    #     print '<tr><td>%s</td><td>%s</td></tr>' % (k, techs[k].encode('ascii', "ignore"))
    print "</table>"
    # for dirname, dirnames, filenames in os.walk('D:\workspace\camera\small'):
    #     for filename in filenames:
    #         file_path = os.path.join(dirname, filename)
            
    #         pid = filename[:-5]
    #         if not os.path.isfile(os.path.join("D:\workspace\camera\images", pid) + ".jpg"):
    #             amazon_prd_img(pid, "D:\workspace\camera\images")

    #         print pid
dataset/ETHPy150Open numb3r3/crawler-python/dp_crawler.py/main/swapped operands of `%`