Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $feed_img_url = $feed_item->getImageVersions2()->candidates[0]->getUrl()."\n";
- $img = "./".$feed_id_str."/".$feed_id_str.".jpg";
- file_put_contents($img, file_get_contents($feed_img_url));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement