Skip to content

Commit

Permalink
Don't use raw html content for video file names
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst committed May 15, 2020
1 parent d815a6e commit cb64cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ fn process(ilias: Arc<ILIAS>, mut path: PathBuf, obj: Object) -> impl Future<Out
let link = link.unwrap();
let mut cells = row.select(&td);
if let Some(title) = cells.nth(2) {
let title = title.inner_html();
let title = title.text().collect::<String>();
let title = title.trim();
if title.starts_with("<div") {
continue;
Expand Down

0 comments on commit cb64cdb

Please sign in to comment.