diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2017-02-20 19:15:28 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2017-02-20 19:18:51 -0800 |
commit | 195bea73e1195b824eabdeb411713801f17d11a6 (patch) | |
tree | 73b9eac507dad35cd3e404da2c53d1c6df00dd07 | |
parent | main.py: Fix Bytes error in hosts list bug 610016 (diff) | |
download | mirrorselect-195bea73e1195b824eabdeb411713801f17d11a6.tar.gz mirrorselect-195bea73e1195b824eabdeb411713801f17d11a6.tar.bz2 mirrorselect-195bea73e1195b824eabdeb411713801f17d11a6.zip |
extractor.py: Add climit param for >=ssl-fetch-0.4
-rw-r--r-- | mirrorselect/extractor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrorselect/extractor.py b/mirrorselect/extractor.py index 06dce6c..dca8302 100644 --- a/mirrorselect/extractor.py +++ b/mirrorselect/extractor.py @@ -115,7 +115,7 @@ class Extractor(object): } fetcher = Connector(connector_output, self.proxies, USERAGENT) - success, mirrorlist, timestamp = fetcher.fetch_content(url) + success, mirrorlist, timestamp = fetcher.fetch_content(url, climit=60) parser.parse(mirrorlist) if (not mirrorlist) or len(parser.tuples()) == 0: |