Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- htmlString =
- (
- <some shit><a href="somethingelse.com"> some text</A></some more shit>
- <li class=" ">
- <a href="/tv/musicvideos/1164-sabotage/">
- <div class="artwork">
- <span class="image" data-src="http://cdn.pitchfork.com/video-archive/1164/medium.0e9a961e.jpg"></span>
- </div>
- <div class="info">
- <h1 class="artist">Beastie Boys</h1>
- <h2 class="title">Sabotage</h2>
- </div>
- </a>
- </li>
- <li class=" ">
- <a href="/tv/musicvideos/1344-Integalactic/">
- <div class="artwork">
- <span class="image" data-src="http://cdn.pitchfork.com/video-archive/1164/medium.0e9a961e.jpg"></span>
- </div>
- <div class="info">
- <h1 class="artist">Beastie Boys</h1>
- <h2 class="title">Intergalactic</h2>
- </div>
- </a>
- </li>
- <some shit><a href="somethingelse.com"> some text</A></some more shit>
- )
- ; Either extract the 3 variables or show me how to extract the piece and I can do the rest myself
- ; /tv/musicvideos/1164-sabotage/
- ; Beastie Boys
- ; Sabotage
- (or)
- ; <li class=" "><a href="/tv/musicvideos/1164-sabotage/"><div class="artwork"><span class="image" data-src="http://cdn.pitchfork.com/video-archive/1164/medium.0e9a961e.jpg">
- ; </span></div><div class="info"><h1 class="artist">Beastie Boys</h1><h2 class="title">Sabotage</h2></div></a></li>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement