Package entropy :: Module transceivers :: Class MultipleUrlFetcher

Class MultipleUrlFetcher

source code

Instance Methods
 
__init__(self, url_path_list, checksum=True, show_speed=True, resume=True, abort_check_func=None, disallow_redirect=False, OutputInterface=None, UrlFetcherClass=None)
@param url_path_list list [(url,path_to_save,),...]...
source code
 
download(self) source code
 
get_data_transfer(self) source code
 
get_average(self) source code
 
get_seconds_remaining(self) source code
 
show_download_files_info(self) source code
 
handle_statistics(self, th_id, downloaded_size, total_size, average, old_average, update_step, show_speed, data_transfer, time_remaining, time_remaining_secs) source code
 
updateProgress(self) source code
Method Details

__init__(self, url_path_list, checksum=True, show_speed=True, resume=True, abort_check_func=None, disallow_redirect=False, OutputInterface=None, UrlFetcherClass=None)
(Constructor)

source code 

@param url_path_list list [(url,path_to_save,),...]
@param checksum bool return checksum data
@param show_speed bool show transfer speed on the output
@param resume bool enable resume support
@param abort_check_func callable function that could
    raise exception and stop transfer
@param disallow_redirect bool disable automatic HTTP redirect
@param OutputInterface TextInterface instance used to
    print instance output through a common interface
@param UrlFetcherClass, urlFetcher instance/interface used