Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boxes = images[0].find_all("box")
- soup.images.box
- soup.images.image.box
- <data>
- <images>
- <image file='as'>
- <box top='1'>
- <label>front</label>
- </box>
- <box top='2'>
- <label>back</label>
- </box>
- <box top='3'>
- <label>front</label>
- </box>
- <box top='4'>
- <label>back</label>
- </box>
- </image>
- <image file='dos'>
- <box top='5'>
- <label>front</label>
- </box>
- <box top='6'>
- <label>back</label>
- </box>
- <box top='7'>
- <label>front</label>
- </box>
- <box top='8'>
- <label>back</label>
- </box>
- </image>
- </images>
- </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement