File tree Expand file tree Collapse file tree
AnimeCalendar.Api/Mikanime Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ public Identifier[] Subgroups
4040 public SimpleEpisode [ ] GetEpisodes ( int subgroupId ) {
4141 HtmlNode table = RootNode . SelectSingleNode ( $ "//div[@id=\" { subgroupId } \" ]") . NextSibling . NextSibling ;
4242 return table . SelectNodes ( ".//tr" ) . Skip ( 1 ) . Select ( tr => {
43- HtmlNode wrapNode = tr . SelectSingleNode ( "./td[1 ]/a[1]" ) ;
43+ HtmlNode wrapNode = tr . SelectSingleNode ( ".// td[2 ]/a[1]" ) ;
4444 return new SimpleEpisode (
4545 wrapNode . InnerText . Decode ( ) ,
4646 MikanimeServices . BASE_ADDRESS + wrapNode . Attributes [ "href" ] . Value ,
47- tr . SelectSingleNode ( "./td[2]" ) . InnerText . Decode ( ) ,
4847 tr . SelectSingleNode ( "./td[3]" ) . InnerText . Decode ( ) ,
49- tr . SelectSingleNode ( "./td[1]/a[2]" ) . Attributes [ "data-clipboard-text" ] . Value ,
48+ tr . SelectSingleNode ( "./td[4]" ) . InnerText . Decode ( ) ,
49+ tr . SelectSingleNode ( "./td[2]/a[2]" ) . Attributes [ "data-clipboard-text" ] . Value ,
5050 BangumiName
5151 ) ;
5252 } ) . ToArray ( ) ;
You can’t perform that action at this time.
0 commit comments