remove progress dots in title fetching

This commit is contained in:
Nick Sweeting 2019-03-30 15:50:32 -04:00
parent f6a25d9c12
commit fffeb21ad4

View file

@ -251,10 +251,6 @@ def fetch_page_title(url: str, timeout: int=10, progress: bool=SHOW_PROGRESS) ->
return None return None
try: try:
if progress:
sys.stdout.write('.')
sys.stdout.flush()
html = download_url(url, timeout=timeout) html = download_url(url, timeout=timeout)
match = re.search(HTML_TITLE_REGEX, html) match = re.search(HTML_TITLE_REGEX, html)