how to extract text using Beautifulsoup

0 majid Kamal · September 24, 2015


Hi, can you please show me how to extract the title text  (Inna)  using beatifulsoup in this situation :

<div class="wallpapers-box-300x180-2-title"><a title="Inna" href="/wallpapers/inna/">Inna</a></div>

Thanks.

Post a Reply

Replies

Oldest  Newest  Rating
0 Halcyon Abraham Ramirez · September 24, 2015
Try. 
soup.find ('a').text
  • 1

Python

107,318 followers
About

This section is all about snakes! Just kidding.

Links
Moderators
Bucky Roberts Administrator