this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add account auth

+9
+9
emojidex
··· 133 133 )] 134 134 resolution: Resolution, 135 135 136 + #[argh(option, description = "account auth token (required for r18 content).")] 137 + auth: Option<String>, 138 + 136 139 #[argh(option, description = "limit the amount of results returned.")] 137 140 limit: Option<usize>, 138 141 ··· 157 160 code, 158 161 resolution, 159 162 limit, 163 + auth, 160 164 } = argh::from_env(); 161 165 162 166 let tmp_dir = env::temp_dir(); ··· 181 185 )] 182 186 }; 183 187 188 + let auth_token = auth 189 + .map(|auth| vec![("auth_token", auth)]) 190 + .unwrap_or_else(|| vec![]); 191 + 184 192 let terms = tags 185 193 .into_iter() 186 194 .chain(category) 187 195 .chain(code) 196 + .chain(auth_token) 188 197 .collect::<Vec<(&str, String)>>(); 189 198 190 199 let client = Client::new();