pub fn new(request_sender: &RequestSender) -> Self {
        let config = Config::get_config().unwrap_or_default();
        WebConnector {
            request_sender: request_sender.clone(),
            download_directory: config.download_directory,
            progress_bar: ProgressBar::hidden(),
            grabber: Grabber::new(request_sender.clone()),
            blacklist: Rc::new(RefCell::new(Blacklist::new(request_sender.clone()))),
        }
    }
/// Creates instance of `Self` for grabbing and downloading posts.
Creates instance of `Self` for grabbing and downloading posts.
Creates instance of ` Self ` for grabbing and downloading posts .
pub fn new(request_sender: &RequestSender) -> Self {
        let config = Config::get_config().unwrap_or_default();
        WebConnector {
            request_sender: request_sender.clone(),
            download_directory: config.download_directory,
            progress_bar: ProgressBar::hidden(),
            grabber: Grabber::new(request_sender.clone()),
            blacklist: Rc::new(RefCell::new(Blacklist::new(request_sender.clone()))),
        }
    }
pub fn new ( request_sender : & RequestSender ) -> Self { let config = Config :: get_config ( ) . unwrap_or_default ( ) ; WebConnector { request_sender : request_sender . clone ( ) , download_directory : config . download_directory , progress_bar : ProgressBar :: hidden ( ) , grabber : Grabber :: new ( request_sender . clone ( ) ) , blacklist : Rc :: new ( RefCell :: new ( Blacklist :: new ( request_sender . clone ( ) ) ) ) , } }
Creates instance of `Self` for grabbing and downloading posts.
Creates instance of ` Self ` for grabbing and downloading posts .
request_sender
&RequestSender
request_sender
&RequestSender