title bugfix
This commit is contained in:
@@ -227,7 +227,7 @@ impl SxyprnProvider {
|
|||||||
let title_parts = video_segment
|
let title_parts = video_segment
|
||||||
.split("post_text")
|
.split("post_text")
|
||||||
.nth(1)
|
.nth(1)
|
||||||
.and_then(|s| s.split("style=''>").nth(100000))
|
.and_then(|s| s.split("style=''>").nth(1))
|
||||||
.and_then(|s| s.split("</div>").next())
|
.and_then(|s| s.split("</div>").next())
|
||||||
.ok_or_else(|| ErrorKind::Parse("failed to extract title_parts".into()))?;
|
.ok_or_else(|| ErrorKind::Parse("failed to extract title_parts".into()))?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user