Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JsoupHtmlからStringParserまでは初めてです。
私はこのhtmlリンクをクリックして使用しています
画像とストーリーコンテンツとタイトルを取得したい。
Jsoupについてご存知の場合は、こちらをご覧ください。
ありがとう。
テキストにこれを試してください
Element images = doc.select("div#storycontent");
それとその後:
System.out.println("imaString "+images.text());
画像の場合、URLを取得するには「doc」で「img」タグを見つける必要があります。