-
PHP
(
http://www.lookjapan.com/forumdisplay.php?f=137)
Vesaire |
31 Ağustos 2016 13:53 |
PHP ile Basit Bot
Bu bot ile instagramdaki resimleri çekiyoruz
PHP- Kodu:
<?php
$site = "http://websta.me/p/1183499885103237159_1213299817"; // Buraya websta veya instagram URLsini yazın.
$parcala = '@<meta property="og:image" content="(.*?)">@si'; // Open Graph Meta Etiketinden Resim URLsini buluyoruz.
$getir = file_get_contents($site);
preg_match_all($parcala,$getir,$resim);
?>
<center>
<img src="<?php echo $resim[1][0] ?>">
</center>
|
All times are GMT +3. The time now is 00:58. |
|
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.