0
我一直在努力拼搶以下站點:http://www.fightingillini.com/schedule.aspx?path=softball刮.aspx頁面中的節點
我已經使用節點/ cheerio/scraperjs湊過去靜態和動態內容的豐富經驗,但我沒有任何運氣破解這個網站。
scraperjs.DynamicScraper.create('http://www.fightingillini.com/calendar.ashx/calendar.rss?sport_id=9')
.scrape(function() {
return $('item').map(function() {
return $(this).children('title').text();
}).get();
}, function(list) {
console.log(list);
});
任何有關圖書館的幫助/反饋/建議,將非常感激!謝謝!
感謝您的回覆!我實際上試圖查看RSS源,但似乎與其他頁面有相同的問題,它返回一個空的主體。它似乎可能是一個失敗的原因。 – Mark
嘗試在單引號的代碼封閉的網址:'scraperjs.DynamicScraper.create(「HTTP://www.fightingillini.com/....」).' –
我一直在試圖用刮RSS源正常的請求模塊... 'request('http://www.fightingillini.com/calendar.ashx/calendar.rss?sport_id=9',cb1);' 我還在向上空身...感謝所有的幫助 – Mark