Skip to content

Commit 5a0f360

Browse files
committed
Control prints removed
1 parent e6890da commit 5a0f360

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mt_scrapper.py

-3
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,10 @@
88
DOWNLOAD_DIR = 'Downloads'
99

1010
def downloadFile(url, directory):
11-
print "Voy a descargar la url %s" % url
12-
1311
fileName = url[url.rfind('/')+1:len(url)]
1412
# To avoid errors due special characters in the filename,
1513
# we use urllib2 to quote it
1614
url = url[0:url.rfind('/')+1] + urllib2.quote(fileName)
17-
print "La URL tras el quote es %s" % url
1815
fileName = directory + '/' + fileName
1916

2017
file = urllib2.urlopen(url)

0 commit comments

Comments
 (0)