Individually proxy videos

This commit is contained in:
spikecodes
2021-02-18 10:04:59 -08:00
parent 2f4deb221a
commit 58127b17d8
5 changed files with 67 additions and 54 deletions

View File

@ -165,7 +165,7 @@ async fn parse_comments(json: &serde_json::Value, post_link: &str, post_author:
};
let parent_kind_and_id = val(&comment, "parent_id");
let parent_info = parent_kind_and_id.split("_").collect::<Vec<&str>>();
let parent_info = parent_kind_and_id.split('_').collect::<Vec<&str>>();
let id = val(&comment, "id");
let highlighted = id == highlighted_comment;