4

currently i'm trying read some website content using jsoup. I got following result for Image Url.

<img alt="" src="**data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==**"/>

how do i get the real image Url of this image

Amal Madawa
  • 187
  • 1
  • 14

1 Answers1

4

The image has been encoded. You cannot get the URL of the image , but rather you will be able to use base64 utils to get the image directly . This post will give you more information (Decoding Base64 Images)

Online base64 converters can decode this string and you can save this decoded data as .gif and be able to open in a image editor / browser

Ramachandran.A.G
  • 4,788
  • 1
  • 12
  • 24