RastLeak_1_2.py 文件源码

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

项目:RastLeak 作者: n4xh4ck5 项目源码 文件源码
def Downloadfiles(urls_metadata):
    print "\nDo you like downloading these files to analyze metadata(Y/N)?"
    #try:
    resp = raw_input()
    if (resp == 'N'):
        print "Exiting"
        exit(1)
    if ((resp != 'Y') and (resp != 'N')):
        print "The option is not valided. Please, try again it"
    if (resp =='Y'):
        print "Indicate the location where keep the files downloaded"
        path = raw_input()
        try:
            for url in urls_metadata:
                try:
                    filename = wget.download(url,path)
                    Analyze_Metadata(filename)
                except:
                    pass
            Display_Export_Metadata(metadata_files)
        except:
            pass
#********************************************************#
#Definition and treatment of the parameters
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号