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
8RK 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')