mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
更新README
This commit is contained in:
parent
be44ee7095
commit
e1b5ff424c
@ -64,7 +64,7 @@ first_col = foot.ele('css:>div') # Find first div element in the lower level of
|
||||
lnk = first_col.ele('text:Git Branching') # Find elements by text content
|
||||
text = lnk.text # Get element text
|
||||
href = lnk.attr('href') # Get element attribute value
|
||||
|
||||
|
||||
print(first_col)
|
||||
print(text, href)
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user