You can use Yahoo Query Language to dribble some Same- origin Policy .
Example:
$.getJSON("http://query.yahooapis.com/v1/public/yql",
{
q: 'select * from json where url="http://developers.agenciaideias.com.br/loterias/lotofacil/json"',
format: "json"
},
function(data){
if (data.query.results) {
console.log('data',data.query.results.json)
} else {
console.error('no results')
}
});
Prints:
{
"concurso": {
"numero": "1122",
"data": "ES",
"cidade": "<span style=\"font-size: 12px; font-weight: bold;\">Estimativa de Prêmio</span><br /><span style=\"color: rgb(102, 102, 102); font-size: 22px; font-weight:bold;\">R$</span> <span style=\"font-size: 22px; color:#911687; font-weight: bold;\">1.700.000,00</span><br /><span style=\"font-size: 11px;\">*para o próximo concurso, a ser realizado em 24/10/2014</span><br /><br />-<a href=\"javascript:imprimir_lotofacil(1122);\"><img src=\"/loterias/_images/button/btn_imprimir_resultadojogo.jpg\" width=\"148\" height=\"73\" border=\"0\" /></a>",
"local": "Caminhão da Sorte",
"numeros_sorteados": [
"02",
"03",
"07",
"10",
"11",
"12",
"13",
"14",
"16",
"19",
"20",
"21",
"23",
"24",
"25"
],
"premiacao": {
"acertos_15": {
"ganhadores": "4",
"valor_pago": "428.378,51"
},
"acertos_14": {
"ganhadores": "507",
"valor_pago": "1.485,58"
},
"acertos_13": {
"ganhadores": "19.267",
"valor_pago": "15,00"
},
"acertos_12": {
"ganhadores": "242.287",
"valor_pago": "6,00"
},
"acertos_11": {
"ganhadores": "1.252.543",
"valor_pago": "3,00"
}
}
},
"proximo_concurso": {
"data": "23",
"valor_estimado": "20"
}
}
Reference : How to scrape content from other sites using jQuery?