diff --git a/src/providers/perverzija.rs b/src/providers/perverzija.rs
index 042e8ee..17bed06 100644
--- a/src/providers/perverzija.rs
+++ b/src/providers/perverzija.rs
@@ -463,16 +463,18 @@ impl PerverzijaProvider {
);
}
}
- let stars_parts: Vec<&str> = text.split("Stars: ").collect::>()[1].split("").collect::>()[0].split(">();
- for star in stars_parts.iter().skip(1) {
- if star.starts_with("https://tube.perverzija.com/stars/"){
- tags.push(
- star.split("/\"").collect::>()[0]
- .replace("https://tube.perverzija.com/stars/", "@stars:")
- .to_string(),
- );
- }
- }
+ if text.contains("Stars: "){
+ let stars_parts: Vec<&str> = text.split("Stars: ").collect::>()[1].split("").collect::>()[0].split(">();
+ for star in stars_parts.iter().skip(1) {
+ if star.starts_with("https://tube.perverzija.com/stars/"){
+ tags.push(
+ star.split("/\"").collect::>()[0]
+ .replace("https://tube.perverzija.com/stars/", "@stars:")
+ .to_string(),
+ );
+ }
+ }
+ }
let tags_parts: Vec<&str> = text.split("Tags: ").collect::>()[1].split("").collect::>()[0].split(">();
for star in tags_parts.iter().skip(1) {