0
0
Fork 0

Ignore leading spaces (and trailing also) in all URL from url list or command line

main
Witold Baryluk 2012-03-23 06:15:57 +01:00
parent ceba827e9a
commit d891ff9fd9
1 changed files with 1 additions and 0 deletions

View File

@ -4563,6 +4563,7 @@ def _real_main():
except IOError:
sys.exit(u'ERROR: batch file could not be read')
all_urls = batchurls + args
all_urls = map(lambda url: url.strip(), all_urls)
# General configuration
cookie_processor = urllib2.HTTPCookieProcessor(jar)