undo preview
This commit is contained in:
@@ -286,13 +286,13 @@ impl PornhubProvider {
|
||||
video_item = video_item.tags(vec![tag])
|
||||
.uploader(uploader_href[2].to_string());
|
||||
}
|
||||
if video_segment.contains("data-mediabook=\"") {
|
||||
let preview = video_segment.split("data-mediabook=\"").collect::<Vec<&str>>()[1]
|
||||
.split("\"")
|
||||
.collect::<Vec<&str>>()[0]
|
||||
.to_string();
|
||||
video_item = video_item.preview(preview);
|
||||
}
|
||||
// if video_segment.contains("data-mediabook=\"") {
|
||||
// let preview = video_segment.split("data-mediabook=\"").collect::<Vec<&str>>()[1]
|
||||
// .split("\"")
|
||||
// .collect::<Vec<&str>>()[0]
|
||||
// .to_string();
|
||||
// video_item = video_item.preview(preview);
|
||||
// }
|
||||
|
||||
|
||||
items.push(video_item);
|
||||
|
||||
Reference in New Issue
Block a user