I want to scrape some names from a site. But the names are encoded. How can I scrape them with their original names?
Scraping a name which is not visible in inspect element
What is the encoded format?
Can you give me the website link and names you want to scrape.
Hi,
Here in the screenshot, I’ve 3 songs listed. when I do inspect element on any of song. I got this HTML structure.
<ul>
<li>
<h3 class="item-heading"> <a href="https://gaana.com/song/sunnrahahai-1" class="rt_arw " data-value="song944447" data-type="playSong" title="Sunn Raha Hai">Sunn Raha Hai</a>
</h3>
</li>
(more li’s)
</ul>
So, your work is to just pick the <h3>
or <a>
element with the class selector and get the Text. it will return name of the song.