bugfix
This commit is contained in:
@@ -463,6 +463,7 @@ impl PerverzijaProvider {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if text.contains("<strong>Stars: </strong>"){
|
||||||
let stars_parts: Vec<&str> = text.split("<strong>Stars: </strong>").collect::<Vec<&str>>()[1].split("</div>").collect::<Vec<&str>>()[0].split("<a href=\"").collect::<Vec<&str>>();
|
let stars_parts: Vec<&str> = text.split("<strong>Stars: </strong>").collect::<Vec<&str>>()[1].split("</div>").collect::<Vec<&str>>()[0].split("<a href=\"").collect::<Vec<&str>>();
|
||||||
for star in stars_parts.iter().skip(1) {
|
for star in stars_parts.iter().skip(1) {
|
||||||
if star.starts_with("https://tube.perverzija.com/stars/"){
|
if star.starts_with("https://tube.perverzija.com/stars/"){
|
||||||
@@ -473,6 +474,7 @@ impl PerverzijaProvider {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
let tags_parts: Vec<&str> = text.split("<strong>Tags: </strong>").collect::<Vec<&str>>()[1].split("</div>").collect::<Vec<&str>>()[0].split("<a href=\"").collect::<Vec<&str>>();
|
let tags_parts: Vec<&str> = text.split("<strong>Tags: </strong>").collect::<Vec<&str>>()[1].split("</div>").collect::<Vec<&str>>()[0].split("<a href=\"").collect::<Vec<&str>>();
|
||||||
for star in tags_parts.iter().skip(1) {
|
for star in tags_parts.iter().skip(1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user