private SherdogBaseObject getOpponent ( Element td ) { SherdogBaseObject opponent = new SherdogBaseObject ( ) ; Element opponentLink = td . select ( "a" ) . get ( 0 ) ; opponent . setName ( opponentLink . html ( ) ) ; opponent . setSherdogUrl ( opponentLink . attr ( "abs:href" ) ) ; return opponent ; }
Get the fight result