parsing an image url from an html file

后端 未结 3 1545
我在风中等你
我在风中等你 2021-01-16 04:49

I want to search through a html file and then get the url to an image on that page. This url should then be saved as a string - thats all. The problem is I really don t know

3条回答
  •  花落未央
    2021-01-16 05:26

    Take a look at jsoup HTML parser. There is a relevant answer on SO that explains the basic usage of jsoup - https://stackoverflow.com/a/5318771/1321873

提交回复
热议问题