我想使用 Java 提取数据 HTML。我尝试使用 Jsoup,但到目前为止我无法提取正确的数据。这是我试图从中提取数据的 HTML 代码片段。
<a href="javascript:;" id="listen_880966" onclick="MP3PREVIEWPLAYER.showHiddePlayer(880966, 'http://mksh.free.fr/' + 'lol/mp3/Paint_It_Black/18_the_black_dahlia_murder_-_paint_it_black_(rolling_stones)-bfhmp3.mp3')" title="Listen Paint it Black The Black Dahlia Murder Great Metal Covers 36" class="button button-s button-1 listen " >
我希望将链接(“ http://mksh.free.fr/ ' + 'lol/mp3/Paint_It_Black/18_the_black_dahlia_murder_-_paint_it_black_(rolling_stones)-bfhmp3.mp3”)和标题提取到不同的变量中。如果提供示例代码以及答案,那将非常有帮助。