Merhaba arkadaşlar, dün Google Play üzerinden nasıl veri çekebileceğim konusunda soru sormuştum ben bir yolunu buldum şöyle :

DiDom isimli class ı kullanıyorum.

<?php 

require "vendor/autoload.php";

use DiDom\Document;

$document = new Document('https://play.google.com/store/apps/details?id=com.instagram.android', true);
?>

<table>
	<tbody>
		<tr>
			<td>Uygulama adı</td>
			<td>Uygulama resmi</td>
			<td>Uygulama yapımcısı</td>
			<td>Uygulama türü</td>
		</tr>
		<tr>
			<td><?php echo $document->first('h1.AHFaub')->text(); ?></td>
			<td><?php echo $document->first('img.T75of::attr(src)'); ?></td>
			<td><?php echo $document->find('a.R8zArc')[0]->text(); ?></td>
			<td><?php echo $document->find('a.R8zArc')[1]->text(); ?></td>
		</tr>
	</tbody>
</table>
Soru:

Veriyi sorunsuz şekilde çekebiliyorum ancak görsel adresi:

https://play-lh.googleusercontent.com/2sREY-8UpjmaLDCTztldQf6u2RGUtuyf6VT5iyX3z53JS4TdvfQlX-rNChXKgpBYMw

şeklinde geliyor.

Ben bu görseli png olarak değiştirmek istiyorum nasıl yapabilirim?

not: görsel URL sonuna .png eklediğimde çalışmıyor.