fix!: remove possible panic from client builder

fix: simplify integer divisions
This commit is contained in:
ThetaDev 2023-05-31 12:14:11 +02:00
parent 182f9ebfb8
commit 32b4800b46
9 changed files with 40 additions and 21 deletions

View file

@ -16,7 +16,8 @@ pub async fn collect_video_dates(concurrency: usize) {
let json_path = path!(*DICT_DIR / "timeago_samples_short.json");
let rp = RustyPipe::builder()
.visitor_data("Cgtwel9tMkh2eHh0USiyzc6jBg%3D%3D")
.build();
.build()
.unwrap();
let channels = [
"UCeY0bbntWzzVIaj2z3QigXg",

View file

@ -134,6 +134,7 @@ fn rp_testfile(json_path: &Path) -> RustyPipe {
.report()
.strict()
.build()
.unwrap()
}
async fn player() {
@ -155,7 +156,7 @@ async fn player() {
}
async fn player_model() {
let rp = RustyPipe::builder().strict().build();
let rp = RustyPipe::builder().strict().build().unwrap();
for (name, id) in [("multilanguage", "tVWWp1PqDus"), ("hdr", "LXb3EKWsInQ")] {
let json_path =