Page 61 - Python Cơ Bản
P. 61

8VSRK Zɴ Hд Gɹ QШX WР GɨGL XVY] \YϴX чЎR GɨG TL϶R Xм RLš





                   findAll()   XVϲ ZА QϲRK GɨG XLЊ Gɹ XɱR G϶R XɳQ


                   find()   XVϲ ZА TL϶R Xм ч϶Y XMɱR Gɹ XɱR G϶R XɳQ


                  8VY] \YϴX XVрG XMЎT XLɺRK UYE XɱR XLЊ RLš




                   x.price.string



               4EVWMRK ,810





          8š˜RK Xр RLš  xml   &IEYXMJYP7SYT Gɹ XLВ TEVWMRK RШM HYRK


          ,810 XLɺRK UYE LɧQ OLЮM XϰS Zɧ GLМR  html  Ю XLEQ WР


          XLи





           ...

           soup = Soup(websitehtml, 'html')
   56   57   58   59   60   61   62   63   64   65   66