/*
Made by [egyJs.com](https://www.instagram.com/egyjs/);
*/
install it on your localhost and try it :
/*
Made by [egyJs.com](https://www.instagram.com/egyjs/);
*/
install it on your localhost and try it :
public function searchPinterest($q) | |
{ | |
$url = "https://jp.pinterest.com/search/pins/?q=$q"; | |
$html = file_get_contents($url); | |
$domd = new \DOMDocument(); | |
libxml_use_internal_errors(true); | |
$domd->loadHTML($html); | |
libxml_use_internal_errors(false); |
Eg. URL translating en page to es | |
http://translate.google.com/translate?hl=en&sl=en&tl=es&u=http://about.com | |
Define the web interface language to be English by adding | |
hl=en to the end of the URL and after the change the URL will look | |
like this: | |
http://www.google.com/search?hl=en | |
When you use more than one setting code in the URL, you need to use |
{ | |
"status": "success", | |
"search_nag": {}, | |
"code": 0, | |
"bookmark": "b28xMDB8MDQ0NWZiOTBjNzNiODlkOTQ1ZTk3ZjY0ZTBhYjU0YjM0ZDYyNDg3NjU3ZWQ3OGJmZjI4ZTliZGRmODBlMzJlNQ==", | |
"debug_data": { | |
"query_data": {} | |
}, | |
"message": "ok", | |
"data": [ |
#!/usr/bin/env ruby | |
require 'syslog' | |
require 'net/http' | |
require 'aws-sdk' | |
Syslog.open | |
AWS.config({ | |
:access_key_id => '<iam user key>', | |
:secret_access_key => '<iam user secret>' |