mirror of
https://github.com/FliegendeWurst/KIT-ILIAS-downloader.git
synced 2024-08-28 04:04:18 +00:00
Don't use raw html content for video file names
This commit is contained in:
parent
d815a6ea1e
commit
cb64cdbd9a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user