private SherdogBaseObject getEvent ( Element td ) { Element link = td . select ( "a" ) . get ( 0 ) ; SherdogBaseObject event = new SherdogBaseObject ( ) ; event . setName ( link . html ( ) . replaceAll ( "<span itemprop=\"award\">|</span>" , "" ) ) ; event . setSherdogUrl ( link . attr ( "abs:href" ) ) ; return event ; }
Get the fight event