|
|
@ -36,9 +36,10 @@ parser.add_argument('-x', dest='xml_path', action='store', default='jamendo.xml.
|
|
|
|
args = parser.parse_args()
|
|
|
|
args = parser.parse_args()
|
|
|
|
options = vars(args)
|
|
|
|
options = vars(args)
|
|
|
|
|
|
|
|
|
|
|
|
#print "Retrieving Jamendo database..."
|
|
|
|
if options['no_download'] == False:
|
|
|
|
#urllib.urlretrieve(xml_url, xml_file, reporthook=update_progress)
|
|
|
|
print "Retrieving Jamendo database..."
|
|
|
|
#print ""
|
|
|
|
urllib.urlretrieve(xml_url, xml_file, reporthook=update_progress)
|
|
|
|
|
|
|
|
print ""
|
|
|
|
|
|
|
|
|
|
|
|
xml = gzip.open(xml_file)
|
|
|
|
xml = gzip.open(xml_file)
|
|
|
|
|
|
|
|
|
|
|
|