Skip to content

Commit

Permalink
fix: removed nested div
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelemusiani committed May 22, 2024
1 parent cb6051b commit e5952dc
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 @@ -27,7 +27,7 @@ const COURSES: &[Course] = &[

lazy_static! {
static ref TABLE: Selector = scraper::Selector::parse("td.title").unwrap();
static ref TITLE: Selector = scraper::Selector::parse("div#u-content-intro>div>h1").unwrap();
static ref TITLE: Selector = scraper::Selector::parse("div#u-content-intro>h1").unwrap();
static ref LANG: Selector = scraper::Selector::parse("li.language-en").unwrap();
static ref DESC: Selector = scraper::Selector::parse("div.description-text").unwrap();
static ref DESC_END_MARKER: HashMap<String, String> = [
Expand Down

0 comments on commit e5952dc

Please sign in to comment.