Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. boxes = images[0].find_all("box")
  2.  
  3. soup.images.box
  4.  
  5. soup.images.image.box
  6.  
  7. <data>
  8. <images>
  9. <image file='as'>
  10. <box top='1'>
  11. <label>front</label>
  12. </box>
  13. <box top='2'>
  14. <label>back</label>
  15. </box>
  16. <box top='3'>
  17. <label>front</label>
  18. </box>
  19. <box top='4'>
  20. <label>back</label>
  21. </box>
  22. </image>
  23. <image file='dos'>
  24. <box top='5'>
  25. <label>front</label>
  26. </box>
  27. <box top='6'>
  28. <label>back</label>
  29. </box>
  30. <box top='7'>
  31. <label>front</label>
  32. </box>
  33. <box top='8'>
  34. <label>back</label>
  35. </box>
  36. </image>
  37. </images>
  38. </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement