htrc / htrc-feature-reader

Tools for working with HTRC Feature Extraction files
37 stars 12 forks source link

`htrc_features.utils.download_file(silent=True)` does not suppress rsync output. #16

Closed JaimieMurdock closed 7 years ago

JaimieMurdock commented 7 years ago

To replicate:

import htrc_features.utils
htrc_features.utils.download_file(htids='mdp.39015052502641', silent=True)

Output:

[sandbox] Welcome to the HathiTrust Research Center rsync server.

receiving incremental file list
mdp.39015052502641.json.bz2

sent 43 bytes  received 266,069 bytes  532,224.00 bytes/sec
total size is 265,883  speedup is 1.00