Don't use raw html content for video file names

This commit is contained in:
FliegendeWurst 2020-05-15 19:38:13 +02:00
parent d815a6ea1e
commit cb64cdbd9a

View File

@ -233,7 +233,7 @@ fn process(ilias: Arc<ILIAS>, mut path: PathBuf, obj: Object) -> impl Future<Out
let link = link.unwrap(); let link = link.unwrap();
let mut cells = row.select(&td); let mut cells = row.select(&td);
if let Some(title) = cells.nth(2) { if let Some(title) = cells.nth(2) {
let title = title.inner_html(); let title = title.text().collect::<String>();
let title = title.trim(); let title = title.trim();
if title.starts_with("<div") { if title.starts_with("<div") {
continue; continue;